diff options
author | Bart Polot <bart@net.in.tum.de> | 2011-10-17 16:52:59 +0000 |
---|---|---|
committer | Bart Polot <bart@net.in.tum.de> | 2011-10-17 16:52:59 +0000 |
commit | 9ca88c3cd5f81dfc96ca25b3bb716c4ca004beb0 (patch) | |
tree | f2d446c931923c8f87b875b395aa30383954c371 /src/mesh | |
parent | 27f9286f3ad311c5aa0463fdbb87dd56fe09b03f (diff) | |
download | gnunet-9ca88c3cd5f81dfc96ca25b3bb716c4ca004beb0.tar.gz gnunet-9ca88c3cd5f81dfc96ca25b3bb716c4ca004beb0.zip |
Fix
Diffstat (limited to 'src/mesh')
-rw-r--r-- | src/mesh/mesh_api_new.c | 2 |
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, |