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

Modified Files:
        manager.c 
Log Message:
fix 'invalid command' logic


Index: manager.c
===================================================================
RCS file: /usr/cvsroot/asterisk/manager.c,v
retrieving revision 1.120
retrieving revision 1.121
diff -u -d -r1.120 -r1.121
--- manager.c   3 Oct 2005 19:40:03 -0000       1.120
+++ manager.c   3 Oct 2005 21:01:29 -0000       1.121
@@ -1281,7 +1281,7 @@
                        }
                        tmp = tmp->next;
                }
-               if (!ret)
+               if (!tmp)
                        astman_send_error(s, m, "Invalid/unknown command");
                else
                        ret = 0;

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

Reply via email to