From: Christian Grothoff Date: Mon, 21 Mar 2011 14:44:50 +0000 (+0000) Subject: do not invert order X-Git-Tag: initial-import-from-subversion-38251~18941 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=bd225ceaec51e7071e5b8c04921a2a8b8aa3de25;p=oweals%2Fgnunet.git do not invert order --- diff --git a/src/core/core_api.c b/src/core/core_api.c index a2ac1a7d4..767ee2957 100644 --- a/src/core/core_api.c +++ b/src/core/core_api.c @@ -1922,9 +1922,9 @@ GNUNET_CORE_peer_change_preference (struct GNUNET_CORE_Handle *h, GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "Queueing CHANGE PREFERENCE request\n"); #endif - 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); pr->pcic = info; pr->pcic_cls = info_cls; if (h->control_pending_head == cm)