projects
/
oweals
/
gnunet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
27f9286
)
Fix
author
Bart Polot
<bart@net.in.tum.de>
Mon, 17 Oct 2011 16:52:59 +0000
(16:52 +0000)
committer
Bart Polot
<bart@net.in.tum.de>
Mon, 17 Oct 2011 16:52:59 +0000
(16:52 +0000)
src/mesh/mesh_api_new.c
patch
|
blob
|
history
diff --git
a/src/mesh/mesh_api_new.c
b/src/mesh/mesh_api_new.c
index b3037e56279db423ee7c6292b0f86e3060b375e6..867136292dc6501b6b676de67b884ef4a267a7ef 100644
(file)
--- 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,