projects
/
oweals
/
minetest.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
334e704
)
Fix uninitialized variabled in ConnectionEvent
author
Loic Blot
<loic.blot@unix-experience.fr>
Sun, 5 Apr 2015 09:13:30 +0000
(11:13 +0200)
committer
Loic Blot
<loic.blot@unix-experience.fr>
Sun, 5 Apr 2015 09:13:30 +0000
(11:13 +0200)
src/network/connection.h
patch
|
blob
|
history
diff --git
a/src/network/connection.h
b/src/network/connection.h
index f60c6625702b5229dafc0828a5fdf5f30ef29bf9..556a40a1260f0790580e1b1b2c866ea9fe020601 100644
(file)
--- 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()
{