From: Arran Cudbard-Bell Date: Mon, 21 Jul 2025 21:54:59 +0000 (-0700) Subject: Print correct frame index when reporting frame popping X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=aad4c4b3f2c54c2a68c6b2777d590c5b76d26372;p=thirdparty%2Ffreeradius-server.git Print correct frame index when reporting frame popping --- diff --git a/src/lib/unlang/interpret.c b/src/lib/unlang/interpret.c index 4861e250b0..f4efc435e6 100644 --- a/src/lib/unlang/interpret.c +++ b/src/lib/unlang/interpret.c @@ -1003,7 +1003,7 @@ CC_HINT(hot) rlm_rcode_t unlang_interpret(request_t *request, bool running) * Head on back up the stack */ frame_pop(request, stack); - RDEBUG4("** [%i] %s - frame popped", stack->depth, __FUNCTION__); + RDEBUG4("** [%i] %s - frame popped", stack->depth + 1, __FUNCTION__); /* * Update the stack frame