[Asterisk-cvs] asterisk manager.c,1.120,1.121
kpfleming
kpfleming
Mon Oct 3 17:05:35 CDT 2005
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;
More information about the svn-commits
mailing list