diff options
author | Bart Polot <bart@net.in.tum.de> | 2011-11-25 17:43:16 +0000 |
---|---|---|
committer | Bart Polot <bart@net.in.tum.de> | 2011-11-25 17:43:16 +0000 |
commit | 48a507423a2f014aeb559ad4e58acd7ab1c8fc41 (patch) | |
tree | 5df67505c07847e491388abf72db6bd87fc39981 /src/mesh | |
parent | 03e31611b8e485507d99c2f356c8cc7fa5858941 (diff) | |
download | gnunet-48a507423a2f014aeb559ad4e58acd7ab1c8fc41.tar.gz gnunet-48a507423a2f014aeb559ad4e58acd7ab1c8fc41.zip |
-Fixed coverity #10264
Diffstat (limited to 'src/mesh')
-rw-r--r-- | src/mesh/mesh_api.c | 1 |
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 | } |