From: Alan T. DeKok Date: Thu, 9 Dec 2021 12:46:21 +0000 (-0500) Subject: just access the field directly X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dbefb812a6ba39c6f234b5121008e113d662f935;p=thirdparty%2Ffreeradius-server.git just access the field directly --- diff --git a/src/lib/server/tmpl_dcursor.c b/src/lib/server/tmpl_dcursor.c index 393306c55a..6a0b02cd20 100644 --- a/src/lib/server/tmpl_dcursor.c +++ b/src/lib/server/tmpl_dcursor.c @@ -280,7 +280,7 @@ static void *_tmpl_cursor_next(fr_dlist_head_t *list, void *curr, void *uctx) list_head = &vp->vp_group; _tmpl_cursor_pair_init(vp, list_head, ar, cc); curr = fr_pair_list_head(list_head); - list = UNCONST(fr_dlist_head_t *, fr_pair_list_order(list_head)); + list = UNCONST(fr_dlist_head_t *, &list_head->order); continue; }