From: Christian Grothoff Date: Fri, 16 Dec 2011 19:18:12 +0000 (+0000) Subject: -cleanup X-Git-Tag: initial-import-from-subversion-38251~15611 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=e0b0882dd6b10d362f2aba6f37946f13319e376d;p=oweals%2Fgnunet.git -cleanup --- diff --git a/src/statistics/statistics_api.c b/src/statistics/statistics_api.c index 8e453bfd4..281ba8a9b 100644 --- a/src/statistics/statistics_api.c +++ b/src/statistics/statistics_api.c @@ -259,8 +259,8 @@ static void insert_ai (struct GNUNET_STATISTICS_Handle *h, struct GNUNET_STATISTICS_GetHandle *ai) { - GNUNET_CONTAINER_DLL_insert_after (h->action_head, h->action_tail, - h->action_tail, ai); + GNUNET_CONTAINER_DLL_insert_tail (h->action_head, h->action_tail, + ai); if (h->action_head == ai) schedule_action (h); }