[asterisk-commits] mattf: branch mattf/asterisk-ss7 r40279 -
/team/mattf/asterisk-ss7/channels/
asterisk-commits at lists.digium.com
asterisk-commits at lists.digium.com
Thu Aug 17 12:17:19 MST 2006
Author: mattf
Date: Thu Aug 17 14:17:19 2006
New Revision: 40279
URL: http://svn.digium.com/view/asterisk?rev=40279&view=rev
Log:
Fix bug in enabling and disabling debug
Modified:
team/mattf/asterisk-ss7/channels/chan_zap.c
Modified: team/mattf/asterisk-ss7/channels/chan_zap.c
URL: http://svn.digium.com/view/asterisk/team/mattf/asterisk-ss7/channels/chan_zap.c?rev=40279&r1=40278&r2=40279&view=diff
==============================================================================
--- team/mattf/asterisk-ss7/channels/chan_zap.c (original)
+++ team/mattf/asterisk-ss7/channels/chan_zap.c Thu Aug 17 14:17:19 2006
@@ -10911,9 +10911,9 @@
static int handle_ss7_debug(int fd, int argc, char *argv[])
{
int span;
- if (argc < 5)
+ if (argc < 4)
return RESULT_SHOWUSAGE;
- span = atoi(argv[4]);
+ span = atoi(argv[3]);
if ((span < 1) || (span > NUM_SPANS)) {
ast_cli(fd, "Invalid linkset %s. Should be a number %d to %d\n", argv[4], 1, NUM_SPANS);
return RESULT_SUCCESS;
More information about the asterisk-commits
mailing list