diff options
-rw-r--r-- | src/network/connection.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/network/connection.h b/src/network/connection.h index f60c66257..556a40a12 100644 --- a/src/network/connection.h +++ b/src/network/connection.h @@ -865,7 +865,8 @@ struct ConnectionEvent bool timeout; Address address; - ConnectionEvent(): type(CONNEVENT_NONE) {} + ConnectionEvent(): type(CONNEVENT_NONE), peer_id(0), + timeout(false) {} std::string describe() { |