aboutsummaryrefslogtreecommitdiff
path: root/src/mesh
diff options
context:
space:
mode:
authorBart Polot <bart@net.in.tum.de>2012-01-25 01:26:42 +0000
committerBart Polot <bart@net.in.tum.de>2012-01-25 01:26:42 +0000
commitabe16a76d40facc3995ec17e5e25b9a22f9f771b (patch)
tree25afb7ec42d4eaf9004a2bb099f435f77b66f224 /src/mesh
parent916a36076887b065554ff36f1560a37e796ef55e (diff)
downloadgnunet-abe16a76d40facc3995ec17e5e25b9a22f9f771b.tar.gz
gnunet-abe16a76d40facc3995ec17e5e25b9a22f9f771b.zip
- Adjustment of error condition
Diffstat (limited to 'src/mesh')
-rw-r--r--src/mesh/mesh_api.c7
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 */