From: Alan T. DeKok Date: Mon, 26 Jun 2017 16:40:11 +0000 (-0400) Subject: now that we set top frame (duh) rely on it. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=003cfee2c393fdfc2648fc07c831ce37ced9e68d;p=thirdparty%2Ffreeradius-server.git now that we set top frame (duh) rely on it. --- diff --git a/src/main/unlang_interpret.c b/src/main/unlang_interpret.c index 1b91aef3503..32c24d47e7b 100644 --- a/src/main/unlang_interpret.c +++ b/src/main/unlang_interpret.c @@ -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, "")); result = frame->result;