From: Christian Grothoff Date: Mon, 21 Mar 2011 14:44:09 +0000 (+0000) Subject: do not invert order X-Git-Tag: initial-import-from-subversion-38251~18942 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=c15f5207174ca135ffd99a00f81528557e882942;p=oweals%2Fgnunet.git do not invert order --- 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;