]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
Avoid spurious debug output
authorNick Porter <nick@portercomputing.co.uk>
Mon, 18 Dec 2023 15:33:44 +0000 (15:33 +0000)
committerNick Porter <nick@portercomputing.co.uk>
Mon, 18 Dec 2023 15:33:44 +0000 (15:33 +0000)
src/lib/unlang/xlat_eval.c

index 65743700f59d63d49a225ec2e516c4fb6c65ad35..1056abb9c30a579f505c04b122f5c42fc12e7913 100644 (file)
@@ -825,11 +825,10 @@ xlat_action_t xlat_frame_eval_resume(TALLOC_CTX *ctx, fr_dcursor_t *out,
                if (unlang_xlat_yield(request, xlat_null_resume, NULL, 0, NULL) != XLAT_ACTION_YIELD) return XLAT_ACTION_FAIL;
 
                fr_dcursor_next(out);           /* Wind to the start of this functions output */
-               RDEBUG2("| --> %pV", fr_dcursor_current(out));
-               if (node->call.func &&
-                   !xlat_process_return(request, node->call.func, (fr_value_box_list_t *)out->dlist,
-                                        fr_dcursor_current(out))) {
-                       return XLAT_ACTION_FAIL;
+               if (node->call.func) {
+                       RDEBUG2("| --> %pV", fr_dcursor_current(out));
+                       if (!xlat_process_return(request, node->call.func, (fr_value_box_list_t *)out->dlist,
+                                        fr_dcursor_current(out))) return XLAT_ACTION_FAIL;
                }
 
                /*