summaryrefslogtreecommitdiff
path: root/src/mesh
diff options
context:
space:
mode:
authorPhilipp Tölke <toelke@in.tum.de>2011-10-26 09:26:14 +0000
committerPhilipp Tölke <toelke@in.tum.de>2011-10-26 09:26:14 +0000
commit71d106f21ec6a619436d786bd6449eb049db39b0 (patch)
tree334f4dd1e0d256807e5dd14a3f370b0d87e83305 /src/mesh
parent2b500f19f324c22cbedbaecaa2763bc781711730 (diff)
bug
Diffstat (limited to 'src/mesh')
-rw-r--r--src/mesh/mesh_api.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesh/mesh_api.c b/src/mesh/mesh_api.c
index 0f7592056..30bd13f46 100644
--- a/src/mesh/mesh_api.c
+++ b/src/mesh/mesh_api.c
@@ -672,11 +672,11 @@ core_notify (void *cls, size_t size, void *buf)
{
struct notify_cls *ncls = cls;
struct GNUNET_MESH_Tunnel *tunnel = ncls->tunnel;
+ tunnel->notify_handle = NULL;
if (NULL == buf)
return ncls->notify (ncls->notify_cls, 0, NULL);
- tunnel->notify_handle = NULL;
struct tunnel_message *message = buf;
void *cbuf = (void *) &message[1];