aboutsummaryrefslogtreecommitdiff
path: root/src/mesh/mesh_api.c
diff options
context:
space:
mode:
authorPhilipp Tölke <toelke@in.tum.de>2011-08-02 07:34:43 +0000
committerPhilipp Tölke <toelke@in.tum.de>2011-08-02 07:34:43 +0000
commite7ebd98bde3a3582bc4a102e683229f64e1f3cd2 (patch)
treed844e9a6d24ce0906731b6a27cf5ff5209530c94 /src/mesh/mesh_api.c
parentfb2226d4b281501fe11bcc2837b591019595bcdc (diff)
downloadgnunet-e7ebd98bde3a3582bc4a102e683229f64e1f3cd2.tar.gz
gnunet-e7ebd98bde3a3582bc4a102e683229f64e1f3cd2.zip
Use the right list at the right time.
Diffstat (limited to 'src/mesh/mesh_api.c')
-rw-r--r--src/mesh/mesh_api.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesh/mesh_api.c b/src/mesh/mesh_api.c
index 445c74388..5db0229ef 100644
--- a/src/mesh/mesh_api.c
+++ b/src/mesh/mesh_api.c
@@ -385,8 +385,8 @@ receive_hello (void *cls,
385 { 385 {
386 if (ntohs (ports[i]) == tunnel->tunnel.application_type) 386 if (ntohs (ports[i]) == tunnel->tunnel.application_type)
387 { 387 {
388 GNUNET_CONTAINER_DLL_remove (handle->pending_tunnels.head, 388 GNUNET_CONTAINER_DLL_remove (handle->pending_by_type_tunnels.head,
389 handle->pending_tunnels.tail, 389 handle->pending_by_type_tunnels.tail,
390 tunnel); 390 tunnel);
391 GNUNET_CONTAINER_DLL_insert_after (handle->established_tunnels. 391 GNUNET_CONTAINER_DLL_insert_after (handle->established_tunnels.
392 head, 392 head,