]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
use correct return code developer/alandekok master
authorAlan T. DeKok <aland@freeradius.org>
Thu, 25 Dec 2025 16:38:55 +0000 (11:38 -0500)
committerAlan T. DeKok <aland@freeradius.org>
Thu, 25 Dec 2025 16:45:57 +0000 (11:45 -0500)
src/lib/unlang/xlat_eval.c

index 84a74115c2ce87dd6916bcc8f15ba6eb7c92fabf..03a45f7b20890313844a2a0597038f3513a51fa4 100644 (file)
@@ -1272,7 +1272,7 @@ xlat_action_t xlat_frame_eval_repeat(TALLOC_CTX *ctx, fr_dcursor_t *out,
                                fr_assert(arg != NULL);
 
                                if (fr_value_box_list_concat_in_place(arg, arg, result, FR_TYPE_STRING, FR_VALUE_BOX_LIST_FREE, true, SIZE_MAX) < 0) {
-                                       return -1;
+                                       return XLAT_ACTION_FAIL;
                                }
                        }