From: Nick Porter Date: Mon, 16 Sep 2024 20:17:16 +0000 (+0100) Subject: Skip to next xlat arg after handling empty group X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3ecf8c3b95dec8a4d0129bc183f8fa9d20ea3e88;p=thirdparty%2Ffreeradius-server.git Skip to next xlat arg after handling empty group --- diff --git a/src/lib/unlang/xlat_eval.c b/src/lib/unlang/xlat_eval.c index 7ef9022d1e1..10dff0f4283 100644 --- a/src/lib/unlang/xlat_eval.c +++ b/src/lib/unlang/xlat_eval.c @@ -479,7 +479,7 @@ xlat_action_t xlat_process_args(TALLOC_CTX *ctx, fr_value_box_list_t *list, switch (arg_p->variadic) { case XLAT_ARG_VARIADIC_EMPTY_SQUASH: fr_value_box_list_talloc_free_head(list); - continue; + goto do_next; case XLAT_ARG_VARIADIC_EMPTY_KEEP: goto empty_ok;