From c15f5207174ca135ffd99a00f81528557e882942 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Mon, 21 Mar 2011 14:44:09 +0000 Subject: [PATCH] do not invert order --- src/core/core_api.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/core/core_api.c b/src/core/core_api.c index 15e8add7e..a2ac1a7d4 100644 --- a/src/core/core_api.c +++ b/src/core/core_api.c @@ -1758,9 +1758,9 @@ GNUNET_CORE_peer_request_connect (struct GNUNET_CORE_Handle *h, msg->reserved = htonl (0); msg->timeout = GNUNET_TIME_relative_hton (timeout); msg->peer = *peer; - GNUNET_CONTAINER_DLL_insert (h->control_pending_head, - h->control_pending_tail, - cm); + GNUNET_CONTAINER_DLL_insert_tail (h->control_pending_head, + h->control_pending_tail, + cm); ret = GNUNET_malloc (sizeof (struct GNUNET_CORE_PeerRequestHandle)); ret->h = h; ret->cm = cm; -- 2.25.1