From: Alan T. DeKok Date: Mon, 23 May 2022 18:40:40 +0000 (-0400) Subject: more debugging X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2d019e3b1666a1cccf2b175deed1be594b394b42;p=thirdparty%2Ffreeradius-server.git more debugging --- diff --git a/src/bin/unit_test_attribute.c b/src/bin/unit_test_attribute.c index d4371ae5649..1757f6baeec 100644 --- a/src/bin/unit_test_attribute.c +++ b/src/bin/unit_test_attribute.c @@ -2764,12 +2764,17 @@ static size_t command_xlat_purify(command_result_t *result, command_file_ctx_t * } if (fr_debug_lvl > 2) { - DEBUG("----------------------------------------------------------------------\n"); + DEBUG("Before purify --------------------------------------------------"); xlat_debug(head); } (void) xlat_purify(head, NULL); + if (fr_debug_lvl > 2) { + DEBUG("After purify --------------------------------------------------"); + xlat_debug(head); + } + escaped_len = xlat_print(&FR_SBUFF_OUT(data, COMMAND_OUTPUT_MAX), head, &fr_value_escape_double); RETURN_OK(escaped_len); }