aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBart Polot <bart@net.in.tum.de>2011-11-25 17:43:16 +0000
committerBart Polot <bart@net.in.tum.de>2011-11-25 17:43:16 +0000
commit48a507423a2f014aeb559ad4e58acd7ab1c8fc41 (patch)
tree5df67505c07847e491388abf72db6bd87fc39981
parent03e31611b8e485507d99c2f356c8cc7fa5858941 (diff)
downloadgnunet-48a507423a2f014aeb559ad4e58acd7ab1c8fc41.tar.gz
gnunet-48a507423a2f014aeb559ad4e58acd7ab1c8fc41.zip
-Fixed coverity #10264
-rw-r--r--src/mesh/mesh_api.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesh/mesh_api.c b/src/mesh/mesh_api.c
index 101510d40..c089b3b3f 100644
--- a/src/mesh/mesh_api.c
+++ b/src/mesh/mesh_api.c
@@ -1087,6 +1087,7 @@ send_callback (void *cls, size_t size, void *buf)
1087 mc.header.type = htons (GNUNET_MESSAGE_TYPE_MESH_MULTICAST); 1087 mc.header.type = htons (GNUNET_MESSAGE_TYPE_MESH_MULTICAST);
1088 mc.tid = htonl (th->tunnel->tid); 1088 mc.tid = htonl (th->tunnel->tid);
1089 mc.mid = 0; 1089 mc.mid = 0;
1090 mc.ttl = 0;
1090 memset (&mc.oid, 0, sizeof (struct GNUNET_PeerIdentity)); 1091 memset (&mc.oid, 0, sizeof (struct GNUNET_PeerIdentity));
1091 memcpy (cbuf, &mc, sizeof (mc)); 1092 memcpy (cbuf, &mc, sizeof (mc));
1092 } 1093 }