From 15e62581366af2bd3656654038896d6bbb94d450 Mon Sep 17 00:00:00 2001 From: moneromooo-monero Date: Tue, 19 Sep 2017 15:58:37 +0100 Subject: [PATCH] connection_context: initialize m_callback_request_count to 0 --- src/cryptonote_basic/connection_context.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 {