]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
Typo in unlang_call_current
authorArran Cudbard-Bell <a.cudbardb@freeradius.org>
Sun, 21 Mar 2021 22:58:25 +0000 (22:58 +0000)
committerArran Cudbard-Bell <a.cudbardb@freeradius.org>
Wed, 31 Mar 2021 15:08:38 +0000 (16:08 +0100)
src/lib/unlang/call.c

index baf52f44b3f9bdddf942daf7a222e835bed43430..7f5c308c401e6c95494a007d60df5de1503cc37e 100644 (file)
@@ -174,7 +174,7 @@ CONF_SECTION *unlang_call_current(request_t *request)
         *      looking for modules.
         */
        for (depth = unlang_current_depth(request); depth > 0; depth--) {
-               unlang_stack_frame_t    *frame = &stack->frame[stack->depth];
+               unlang_stack_frame_t    *frame = &stack->frame[depth];
 
                /*
                 *      Look at the module frames,