projects
/
oweals
/
gnunet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
26aa86e
)
- minor fix
author
Bart Polot
<bart@net.in.tum.de>
Tue, 24 Jan 2012 03:14:22 +0000
(
03:14
+0000)
committer
Bart Polot
<bart@net.in.tum.de>
Tue, 24 Jan 2012 03:14:22 +0000
(
03:14
+0000)
src/mesh/mesh_api.c
patch
|
blob
|
history
diff --git
a/src/mesh/mesh_api.c
b/src/mesh/mesh_api.c
index c45017ae08538bb7598de08c16d1a1da3d32acb4..4f733c1d3b10a9dfa1abd83d84d8efd9e1cb86fb 100644
(file)
--- 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)
th = th->next;
}
}
+ if (NULL == h->th_head && NULL != h->th)
+ {
+ GNUNET_CLIENT_notify_transmit_ready_cancel(h->th);
+ h->th = NULL;
+ }
GNUNET_CONTAINER_DLL_remove (h->tunnels_head, h->tunnels_tail, t);
for (i = 0; i < t->npeers; i++)
{