From: Arran Cudbard-Bell Date: Mon, 7 Jun 2021 00:40:35 +0000 (-0500) Subject: Improve debugging in interpret.c X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d32b170737aee7fab27d1379c24b89a101444abe;p=thirdparty%2Ffreeradius-server.git Improve debugging in interpret.c --- diff --git a/src/lib/unlang/interpret.c b/src/lib/unlang/interpret.c index 4c6bf12e1ed..bccac437296 100644 --- a/src/lib/unlang/interpret.c +++ b/src/lib/unlang/interpret.c @@ -134,7 +134,7 @@ int unlang_interpret_push(request_t *request, unlang_t const *instruction, fr_assert(instruction || top_frame); #ifndef NDEBUG - if (DEBUG_ENABLED5) RDEBUG3("unlang_interpret_push called with instruction %s - args %s %s", + if (DEBUG_ENABLED5) RDEBUG3("unlang_interpret_push called with instruction type \"%s\" - args %s %s", instruction ? instruction->debug_name : "", do_next_sibling ? "UNLANG_NEXT_SIBLING" : "UNLANG_NEXT_STOP", top_frame ? "UNLANG_TOP_FRAME" : "UNLANG_SUB_FRAME");