]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
Typo
authorArran Cudbard-Bell <a.cudbardb@freeradius.org>
Sat, 17 Apr 2021 00:06:58 +0000 (19:06 -0500)
committerArran Cudbard-Bell <a.cudbardb@freeradius.org>
Sat, 17 Apr 2021 00:06:58 +0000 (19:06 -0500)
src/lib/util/dlist.h

index 402671a7a3f74aba8b0b20347d9754bb3bc488e0..994b760c1dfc4c46c94bdd4dd4e3fabd8ed185fd 100644 (file)
@@ -531,7 +531,7 @@ static inline CC_HINT(nonnull(1)) void *fr_dlist_remove(fr_dlist_head_t *list_he
 
        if (prev == head) return NULL;  /* Works with fr_dlist_next so that the next item is the list HEAD */
 
-       return fr_dlist_entry_to_item(list_head->offset, entry);
+       return fr_dlist_entry_to_item(list_head->offset, prev);
 }
 
 /** Remove the head item in a list