From: Tilghman Lesher Date: Sat, 9 Jan 2010 00:57:58 +0000 (+0000) Subject: -1 is interpreted as an error, intead of the maximum mask. X-Git-Tag: 1.4.30-rc2~5^2~39 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2056583d61a46084c77fe62100f1404d845eb982;p=thirdparty%2Fasterisk.git -1 is interpreted as an error, intead of the maximum mask. (closes issue #16241) Reported by: vnovy Patches: manager.c.patch uploaded by vnovy (license 922) git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@238915 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/main/manager.c b/main/manager.c index cc3d7abd1a..ade1500c56 100644 --- a/main/manager.c +++ b/main/manager.c @@ -129,7 +129,7 @@ static struct permalias { { EVENT_FLAG_AGENT, "agent" }, { EVENT_FLAG_USER, "user" }, { EVENT_FLAG_CONFIG, "config" }, - { -1, "all" }, + { INT_MAX, "all" }, { 0, "none" }, };