aboutsummaryrefslogtreecommitdiff
path: root/src/cryptonote_basic/connection_context.h
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2017-09-19 15:58:37 +0100
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2017-09-27 11:43:12 +0100
commit15e62581366af2bd3656654038896d6bbb94d450 (patch)
treebe1828109fcfdb0d4252d3ef62822e30d5855f91 /src/cryptonote_basic/connection_context.h
parentcopyable_atomic: add a ctor with initial value (diff)
downloadmonero-15e62581366af2bd3656654038896d6bbb94d450.tar.xz
connection_context: initialize m_callback_request_count to 0
Diffstat (limited to '')
-rw-r--r--src/cryptonote_basic/connection_context.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cryptonote_basic/connection_context.h b/src/cryptonote_basic/connection_context.h
index da4b6512e..e173348db 100644
--- a/src/cryptonote_basic/connection_context.h
+++ b/src/cryptonote_basic/connection_context.h
@@ -40,7 +40,7 @@ namespace cryptonote
struct cryptonote_connection_context: public epee::net_utils::connection_context_base
{
cryptonote_connection_context(): m_state(state_before_handshake), m_remote_blockchain_height(0), m_last_response_height(0),
- m_last_known_hash(crypto::null_hash) {}
+ m_callback_request_count(0), m_last_known_hash(crypto::null_hash) {}
enum state
{