From aad4c4b3f2c54c2a68c6b2777d590c5b76d26372 Mon Sep 17 00:00:00 2001 From: Arran Cudbard-Bell Date: Mon, 21 Jul 2025 14:54:59 -0700 Subject: [PATCH] Print correct frame index when reporting frame popping --- src/lib/unlang/interpret.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.47.3