]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
...and here
authorArran Cudbard-Bell <a.cudbardb@freeradius.org>
Mon, 6 Sep 2021 16:10:08 +0000 (11:10 -0500)
committerArran Cudbard-Bell <a.cudbardb@freeradius.org>
Mon, 6 Sep 2021 16:10:08 +0000 (11:10 -0500)
src/lib/util/dlist.h

index 8acd18884f9a22a07a89ad15693111326e0ca92c..d995ada6e91fa6fd36895b2bfa4ca818202c01c1 100644 (file)
@@ -87,7 +87,7 @@ static_assert(sizeof(unsigned int) >= 4, "Unsigned integer too small on this pla
        for (_iter = fr_dlist_head(_list_head), \
             _tmp = fr_dlist_head(_list_head) ? *fr_dlist_item_to_entry((_list_head)->offset, fr_dlist_head(_list_head)) : (fr_dlist_t){ .prev = NULL, .next = NULL }; \
             _iter; \
-            _iter = _tmp.next ? fr_dlist_entry_to_item(_list_head, _tmp.next) : NULL, \
+            _iter = _tmp.next ? fr_dlist_entry_to_item((_list_head)->offset, _tmp.next) : NULL, \
             _tmp = _tmp.next ? *_tmp.next : (fr_dlist_t){ .prev = NULL, .next = NULL })