]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
now that we set top frame (duh) rely on it.
authorAlan T. DeKok <aland@freeradius.org>
Mon, 26 Jun 2017 16:40:11 +0000 (12:40 -0400)
committerAlan T. DeKok <aland@freeradius.org>
Mon, 26 Jun 2017 16:53:47 +0000 (12:53 -0400)
src/main/unlang_interpret.c

index 1b91aef3503f7b210e8202fa02ab68e87cedb96d..32c24d47e7b372b42b0cff886807411fea0ab8f0 100644 (file)
@@ -1484,8 +1484,7 @@ done_subsection:
         *      We're at the top frame, return the result from the
         *      stack, and get rid of the top frame.
         */
-       if ((frame->top_frame) ||
-           (stack->depth == 1)) {
+       if (frame->top_frame) {
                RDEBUG4("** [%i] %s - returning %s", stack->depth, __FUNCTION__,
                        fr_int2str(mod_rcode_table, frame->result, "<invalid>"));
                result = frame->result;