]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
more debugging
authorAlan T. DeKok <aland@freeradius.org>
Mon, 23 May 2022 18:40:40 +0000 (14:40 -0400)
committerAlan T. DeKok <aland@freeradius.org>
Tue, 24 May 2022 20:46:45 +0000 (16:46 -0400)
src/bin/unit_test_attribute.c

index d4371ae5649de14a0472a6dfd18f7e7652dc3f67..1757f6baeec8d5695c64f1c940008aea198e2b53 100644 (file)
@@ -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);
 }