From: Bart Polot Date: Mon, 17 Oct 2011 16:52:59 +0000 (+0000) Subject: Fix X-Git-Tag: initial-import-from-subversion-38251~16451 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=9ca88c3cd5f81dfc96ca25b3bb716c4ca004beb0;p=oweals%2Fgnunet.git Fix --- diff --git a/src/mesh/mesh_api_new.c b/src/mesh/mesh_api_new.c index b3037e562..867136292 100644 --- a/src/mesh/mesh_api_new.c +++ b/src/mesh/mesh_api_new.c @@ -1066,8 +1066,10 @@ send_callback (void *cls, size_t size, void *buf) { /* multicast */ struct GNUNET_MESH_Multicast mc; + struct GNUNET_MessageHeader *mh; GNUNET_assert (size >= th->size); + mh = (struct GNUNET_MessageHeader *) &cbuf[sizeof (mc)]; psize = th->notify (th->notify_cls, size - sizeof (mc), &cbuf[sizeof (mc)]); GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,