[asterisk-commits] tilghman: branch 1.2 r42946 - /branches/1.2/channels/chan_zap.c

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Thu Sep 14 15:16:32 MST 2006


Author: tilghman
Date: Thu Sep 14 17:16:31 2006
New Revision: 42946

URL: http://svn.digium.com/view/asterisk?rev=42946&view=rev
Log:
Error message references wrong argument (Issue 7951)

Modified:
    branches/1.2/channels/chan_zap.c

Modified: branches/1.2/channels/chan_zap.c
URL: http://svn.digium.com/view/asterisk/branches/1.2/channels/chan_zap.c?rev=42946&r1=42945&r2=42946&view=diff
==============================================================================
--- branches/1.2/channels/chan_zap.c (original)
+++ branches/1.2/channels/chan_zap.c Thu Sep 14 17:16:31 2006
@@ -9329,7 +9329,7 @@
 		return RESULT_SHOWUSAGE;
 	span = atoi(argv[3]);
 	if ((span < 1) || (span > NUM_SPANS)) {
-		ast_cli(fd, "Invalid span %s.  Should be a number %d to %d\n", argv[4], 1, NUM_SPANS);
+		ast_cli(fd, "Invalid span '%s'.  Should be a number from %d to %d\n", argv[3], 1, NUM_SPANS);
 		return RESULT_SUCCESS;
 	}
 	if (!pris[span-1].pri) {



More information about the asterisk-commits mailing list