diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/mesh/mesh_api.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/mesh/mesh_api.c b/src/mesh/mesh_api.c index b76bbf361..2393d0fbc 100644 --- a/src/mesh/mesh_api.c +++ b/src/mesh/mesh_api.c | |||
@@ -387,7 +387,7 @@ destroy_tunnel (struct GNUNET_MESH_Tunnel *t, int call_cleaner) | |||
387 | { | 387 | { |
388 | GNUNET_break (0); | 388 | GNUNET_break (0); |
389 | return; | 389 | return; |
390 | } | 390 | } |
391 | h = t->mesh; | 391 | h = t->mesh; |
392 | 392 | ||
393 | /* disconnect all peers */ | 393 | /* disconnect all peers */ |
@@ -414,8 +414,9 @@ destroy_tunnel (struct GNUNET_MESH_Tunnel *t, int call_cleaner) | |||
414 | if (th->tunnel != t) | 414 | if (th->tunnel != t) |
415 | continue; | 415 | continue; |
416 | /* we should not really get here, as clients should have | 416 | /* we should not really get here, as clients should have |
417 | aborted there requests already */ | 417 | aborted their requests already. |
418 | GNUNET_break (0); | 418 | Management traffic should be ok, as clients can't cancel that */ |
419 | GNUNET_break (NULL == th->notify); | ||
419 | GNUNET_CONTAINER_DLL_remove (h->th_head, h->th_tail, th); | 420 | GNUNET_CONTAINER_DLL_remove (h->th_head, h->th_tail, th); |
420 | 421 | ||
421 | /* clean up request */ | 422 | /* clean up request */ |