[Asterisk-cvs] asterisk/channels chan_zap.c,1.104,1.105

markster at lists.digium.com markster at lists.digium.com
Fri Sep 26 21:44:25 CDT 2003


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

Modified Files:
	chan_zap.c 
Log Message:
Fix various compiler warnings (bug #322)


Index: chan_zap.c
===================================================================
RCS file: /usr/cvsroot/asterisk/channels/chan_zap.c,v
retrieving revision 1.104
retrieving revision 1.105
diff -u -d -r1.104 -r1.105
--- chan_zap.c	26 Sep 2003 22:31:19 -0000	1.104
+++ chan_zap.c	27 Sep 2003 02:45:37 -0000	1.105
@@ -6372,7 +6372,7 @@
 		return RESULT_SHOWUSAGE;
 	chan = atoi(argv[4]);
 	if ((chan < 1) || (chan > NUM_SPANS)) {
-		ast_cli(fd, "Invalid channel %s.  Should be a number greater than 0\n");
+		ast_cli(fd, "Invalid channel %s.  Should be a number greater than 0\n", argv[4]);
 		return RESULT_SUCCESS;
 	}
 	tmp = iflist;
@@ -6403,7 +6403,7 @@
 	}
 	chan = atoi(argv[3]);
 	if ((chan < 1) || (chan > NUM_SPANS)) {
-		ast_cli(fd, "Invalid channel %s.  Should be a number greater than 0\n");
+		ast_cli(fd, "Invalid channel %s.  Should be a number greater than 0\n", argv[3]);
 		return RESULT_SUCCESS;
 	}
 	tmp = iflist;




More information about the svn-commits mailing list