1
0
Fork 0

Fix uninitialized variabled in ConnectionEvent

mutilcraft-mt53
Loic Blot 2015-04-05 11:13:30 +02:00
parent 334e70455b
commit 4235f671c1
1 changed files with 2 additions and 1 deletions

View File

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