From: Nick Porter Date: Mon, 18 Dec 2023 15:33:44 +0000 (+0000) Subject: Avoid spurious debug output X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ed4416e1f6df9794c90e1887f19c6806c519d40f;p=thirdparty%2Ffreeradius-server.git Avoid spurious debug output --- diff --git a/src/lib/unlang/xlat_eval.c b/src/lib/unlang/xlat_eval.c index 65743700f59..1056abb9c30 100644 --- a/src/lib/unlang/xlat_eval.c +++ b/src/lib/unlang/xlat_eval.c @@ -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; } /*