[svn-commits] tilghman: trunk r42947 - in /trunk: ./ channels/chan_zap.c

svn-commits at lists.digium.com svn-commits at lists.digium.com
Thu Sep 14 15:18:08 MST 2006


Author: tilghman
Date: Thu Sep 14 17:18:07 2006
New Revision: 42947

URL: http://svn.digium.com/view/asterisk?rev=42947&view=rev
Log:
Merged revisions 42946 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r42946 | tilghman | 2006-09-14 17:16:31 -0500 (Thu, 14 Sep 2006) | 2 lines

Error message references wrong argument (Issue 7951)

........

Modified:
    trunk/   (props changed)
    trunk/channels/chan_zap.c

Propchange: trunk/
------------------------------------------------------------------------------
Binary property 'branch-1.2-merged' - no diff available.

Modified: trunk/channels/chan_zap.c
URL: http://svn.digium.com/view/asterisk/trunk/channels/chan_zap.c?rev=42947&r1=42946&r2=42947&view=diff
==============================================================================
--- trunk/channels/chan_zap.c (original)
+++ trunk/channels/chan_zap.c Thu Sep 14 17:18:07 2006
@@ -9537,7 +9537,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 svn-commits mailing list