Update of /usr/cvsroot/asterisk
In directory mongoose.digium.com:/tmp/cvs-serv17723

Modified Files:
        manager.c 
Log Message:
make sure a reponse is sent when setting the EventMask to on (bug #4799)


Index: manager.c
===================================================================
RCS file: /usr/cvsroot/asterisk/manager.c,v
retrieving revision 1.104
retrieving revision 1.105
diff -u -d -r1.104 -r1.105
--- manager.c   15 Jul 2005 23:24:51 -0000      1.104
+++ manager.c   25 Jul 2005 22:58:34 -0000      1.105
@@ -402,7 +402,7 @@
        else if (!strcasecmp(string, "off") || ast_false(string))
                ret = 0;
        else if (!strcasecmp(string, "on") || ast_true(string))
-               ret = -1;
+               ret = 1;
        else {
                ret = 0;
                for (x=0; x<sizeof(perms) / sizeof(perms[0]); x++) {

_______________________________________________
Asterisk-Cvs mailing list
[email protected]
http://lists.digium.com/mailman/listinfo/asterisk-cvs

Reply via email to