From: Philipp Tölke Date: Tue, 2 Aug 2011 07:34:43 +0000 (+0000) Subject: Use the right list at the right time. X-Git-Tag: initial-import-from-subversion-38251~17531 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=e7ebd98bde3a3582bc4a102e683229f64e1f3cd2;p=oweals%2Fgnunet.git Use the right list at the right time. --- 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,