diff options
author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2017-09-19 15:58:37 +0100 |
---|---|---|
committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2017-09-27 11:43:12 +0100 |
commit | 15e62581366af2bd3656654038896d6bbb94d450 (patch) | |
tree | be1828109fcfdb0d4252d3ef62822e30d5855f91 /src/cryptonote_basic | |
parent | copyable_atomic: add a ctor with initial value (diff) | |
download | monero-15e62581366af2bd3656654038896d6bbb94d450.tar.xz |
connection_context: initialize m_callback_request_count to 0
Diffstat (limited to 'src/cryptonote_basic')
-rw-r--r-- | src/cryptonote_basic/connection_context.h | 2 |
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 { |