Skip to content

Commit

Permalink
Avoid spurious debug output
Browse files Browse the repository at this point in the history
  • Loading branch information
ndptech committed Dec 18, 2023
1 parent d720180 commit ed4416e
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions src/lib/unlang/xlat_eval.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

/*
Expand Down

0 comments on commit ed4416e

Please sign in to comment.