aboutsummaryrefslogtreecommitdiff
path: root/src/mesh/mesh_api_new.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesh/mesh_api_new.c')
-rw-r--r--src/mesh/mesh_api_new.c2
1 files changed, 2 insertions, 0 deletions
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)
1066 { 1066 {
1067 /* multicast */ 1067 /* multicast */
1068 struct GNUNET_MESH_Multicast mc; 1068 struct GNUNET_MESH_Multicast mc;
1069 struct GNUNET_MessageHeader *mh;
1069 1070
1070 GNUNET_assert (size >= th->size); 1071 GNUNET_assert (size >= th->size);
1072 mh = (struct GNUNET_MessageHeader *) &cbuf[sizeof (mc)];
1071 psize = 1073 psize =
1072 th->notify (th->notify_cls, size - sizeof (mc), &cbuf[sizeof (mc)]); 1074 th->notify (th->notify_cls, size - sizeof (mc), &cbuf[sizeof (mc)]);
1073 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, 1075 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,