From: Alan T. DeKok Date: Tue, 10 Jul 2018 20:56:45 +0000 (-0400) Subject: only print command hierarchy if we're debugging X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=a268a43c728372c177db3dcd28080dd9bf3ebe53;p=thirdparty%2Ffreeradius-server.git only print command hierarchy if we're debugging --- diff --git a/src/main/unit_test_attribute.c b/src/main/unit_test_attribute.c index b876ed6a9eb..a671cf2fb32 100644 --- a/src/main/unit_test_attribute.c +++ b/src/main/unit_test_attribute.c @@ -750,7 +750,7 @@ static void command_add(TALLOC_CTX *ctx, char *input, char *output, size_t outle return; } - command_print(); + if (rad_debug_lvl) command_print(); snprintf(output, outlen, "ok"); fflush(stdout);