]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
Remove spurious warnings about ignoring values
authorNick Porter <nick@portercomputing.co.uk>
Wed, 3 Jan 2024 13:37:36 +0000 (13:37 +0000)
committerNick Porter <nick@portercomputing.co.uk>
Wed, 3 Jan 2024 14:55:17 +0000 (14:55 +0000)
src/lib/unlang/edit.c

index 351227d6bfd22ff45c3457e123bfb08a9e58cd09..75d4eea5f89ece0f287e2fc6a63abc34fb1fcfac 100644 (file)
@@ -778,7 +778,7 @@ static int apply_edits_to_leaf(request_t *request, unlang_frame_state_edit_t *st
                }
 
                if (current->lhs.vp->da->flags.local) {
-                       RWDEBUG("Ignoring extra values for local variable");
+                       if (fr_dcursor_next_peek(&cursor)) RWDEBUG("Ignoring extra values for local variable");
                        goto done;
                }