From e7ebd98bde3a3582bc4a102e683229f64e1f3cd2 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Philipp=20T=C3=B6lke?= Date: Tue, 2 Aug 2011 07:34:43 +0000 Subject: [PATCH] Use the right list at the right time. --- src/mesh/mesh_api.c | 4 ++-- 1 file 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, { if (ntohs (ports[i]) == tunnel->tunnel.application_type) { - GNUNET_CONTAINER_DLL_remove (handle->pending_tunnels.head, - handle->pending_tunnels.tail, + GNUNET_CONTAINER_DLL_remove (handle->pending_by_type_tunnels.head, + handle->pending_by_type_tunnels.tail, tunnel); GNUNET_CONTAINER_DLL_insert_after (handle->established_tunnels. head, -- 2.25.1