connection_context: initialize m_callback_request_count to 0

pull/95/head
moneromooo-monero 7 years ago
parent 5fa199c652
commit 15e6258136
No known key found for this signature in database
GPG Key ID: 686F07454D6CEFC3

@ -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
{

Loading…
Cancel
Save