From: Alan T. DeKok Date: Mon, 1 May 2017 15:03:09 +0000 (-0400) Subject: make functions mirror each other better X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=231e483d7cb1b78438cb7b87150d8aac376bd11b;p=thirdparty%2Ffreeradius-server.git make functions mirror each other better --- diff --git a/src/lib/io/time.h b/src/lib/io/time.h index 9ae4846d368..a8d04082be8 100644 --- a/src/lib/io/time.h +++ b/src/lib/io/time.h @@ -92,8 +92,8 @@ static inline void fr_dlist_insert_head(fr_dlist_t *head, fr_dlist_t *entry) static inline void fr_dlist_insert_tail(fr_dlist_t *head, fr_dlist_t *entry) { - entry->prev = head->prev; entry->next = head; + entry->prev = head->prev; head->prev->next = entry; head->prev = entry; }