From bd225ceaec51e7071e5b8c04921a2a8b8aa3de25 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Mon, 21 Mar 2011 14:44:50 +0000 Subject: do not invert order --- src/core/core_api.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src') 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) -- cgit v1.2.3