projects
/
oweals
/
gnunet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
86427d5
)
Fix coverity #10264
author
Bart Polot
<bart@net.in.tum.de>
Thu, 17 Nov 2011 14:09:34 +0000
(14:09 +0000)
committer
Bart Polot
<bart@net.in.tum.de>
Thu, 17 Nov 2011 14:09:34 +0000
(14:09 +0000)
src/mesh/mesh_api.c
patch
|
blob
|
history
diff --git
a/src/mesh/mesh_api.c
b/src/mesh/mesh_api.c
index 35bbab3a1a7d83716ed77af8cd072d9bd867884f..fe6f0916eae6c5fe7bab9eac698bedcab649f68d 100644
(file)
--- a/
src/mesh/mesh_api.c
+++ b/
src/mesh/mesh_api.c
@@
-1084,6
+1084,7
@@
send_callback (void *cls, size_t size, void *buf)
mc.header.size = htons (psize);
mc.header.type = htons (GNUNET_MESSAGE_TYPE_MESH_MULTICAST);
mc.tid = htonl (th->tunnel->tid);
+ mc.mid = 0;
memset (&mc.oid, 0, sizeof (struct GNUNET_PeerIdentity));
memcpy (cbuf, &mc, sizeof (mc));
}