diff options
-rw-r--r-- | src/mesh/mesh_api.c | 2 |
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) | |||
672 | { | 672 | { |
673 | struct notify_cls *ncls = cls; | 673 | struct notify_cls *ncls = cls; |
674 | struct GNUNET_MESH_Tunnel *tunnel = ncls->tunnel; | 674 | struct GNUNET_MESH_Tunnel *tunnel = ncls->tunnel; |
675 | tunnel->notify_handle = NULL; | ||
675 | 676 | ||
676 | if (NULL == buf) | 677 | if (NULL == buf) |
677 | return ncls->notify (ncls->notify_cls, 0, NULL); | 678 | return ncls->notify (ncls->notify_cls, 0, NULL); |
678 | 679 | ||
679 | tunnel->notify_handle = NULL; | ||
680 | struct tunnel_message *message = buf; | 680 | struct tunnel_message *message = buf; |
681 | void *cbuf = (void *) &message[1]; | 681 | void *cbuf = (void *) &message[1]; |
682 | 682 | ||