[Asterisk-cvs] asterisk manager.c,1.104,1.105
russell at lists.digium.com
russell at lists.digium.com
Mon Jul 25 18:51:56 CDT 2005
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++) {
More information about the svn-commits
mailing list