From: Alan T. DeKok Date: Fri, 15 Feb 2013 22:19:37 +0000 (-0500) Subject: mypriority can be -1, too X-Git-Tag: release_2_2_1~154 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=65b7cd5f01d80b6e15f40049f5a501be3d2ab8b3;p=thirdparty%2Ffreeradius-server.git mypriority can be -1, too --- diff --git a/src/main/modcall.c b/src/main/modcall.c index 88213469c3e..cabd66ce464 100644 --- a/src/main/modcall.c +++ b/src/main/modcall.c @@ -725,7 +725,7 @@ int modcall(int component, modcallable *c, REQUEST *request) * The child's action says return. Do so. */ if ((child->actions[myresult] == MOD_ACTION_RETURN) && - (mypriority == 0)) { + (mypriority <= 0)) { stack.result[stack.pointer] = myresult; stack.children[stack.pointer] = NULL; goto do_return;