aboutsummaryrefslogtreecommitdiff
path: root/src/mesh
diff options
context:
space:
mode:
authorBart Polot <bart@net.in.tum.de>2012-01-24 03:14:22 +0000
committerBart Polot <bart@net.in.tum.de>2012-01-24 03:14:22 +0000
commitd23a2ea6fbe415b0e56249d55fb2b178d76629f2 (patch)
tree55b8372887973ffc68f58adf36a78e9bbf608154 /src/mesh
parent26aa86e473a2adeba117967067f3f11d76a403df (diff)
downloadgnunet-d23a2ea6fbe415b0e56249d55fb2b178d76629f2.tar.gz
gnunet-d23a2ea6fbe415b0e56249d55fb2b178d76629f2.zip
- minor fix
Diffstat (limited to 'src/mesh')
-rw-r--r--src/mesh/mesh_api.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mesh/mesh_api.c b/src/mesh/mesh_api.c
index c45017ae0..4f733c1d3 100644
--- a/src/mesh/mesh_api.c
+++ b/src/mesh/mesh_api.c
@@ -413,6 +413,11 @@ destroy_tunnel (struct GNUNET_MESH_Tunnel *t, int call_cleaner)
413 th = th->next; 413 th = th->next;
414 } 414 }
415 } 415 }
416 if (NULL == h->th_head && NULL != h->th)
417 {
418 GNUNET_CLIENT_notify_transmit_ready_cancel(h->th);
419 h->th = NULL;
420 }
416 GNUNET_CONTAINER_DLL_remove (h->tunnels_head, h->tunnels_tail, t); 421 GNUNET_CONTAINER_DLL_remove (h->tunnels_head, h->tunnels_tail, t);
417 for (i = 0; i < t->npeers; i++) 422 for (i = 0; i < t->npeers; i++)
418 { 423 {