]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
-1 is interpreted as an error, intead of the maximum mask.
authorTilghman Lesher <tilghman@meg.abyt.es>
Sat, 9 Jan 2010 00:57:58 +0000 (00:57 +0000)
committerTilghman Lesher <tilghman@meg.abyt.es>
Sat, 9 Jan 2010 00:57:58 +0000 (00:57 +0000)
(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

main/manager.c

index cc3d7abd1ac31c84cee1a29b21b64877ddf3aca2..ade1500c56f386a41003190b35cc4b0e36442c1f 100644 (file)
@@ -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" },
 };