[asterisk-commits] russell: branch 1.4 r47192 - /branches/1.4/main/cli.c

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Sat Nov 4 10:38:24 MST 2006


Author: russell
Date: Sat Nov  4 11:38:24 2006
New Revision: 47192

URL: http://svn.digium.com/view/asterisk?rev=47192&view=rev
Log:
fix the "atleast" option to the "core set verbose" and "core set debug"
CLI commands

Modified:
    branches/1.4/main/cli.c

Modified: branches/1.4/main/cli.c
URL: http://svn.digium.com/view/asterisk/branches/1.4/main/cli.c?rev=47192&r1=47191&r2=47192&view=diff
==============================================================================
--- branches/1.4/main/cli.c (original)
+++ branches/1.4/main/cli.c Sat Nov  4 11:38:24 2006
@@ -208,7 +208,7 @@
 	if ((argc < 3) || (argc > 4))
 		return RESULT_SHOWUSAGE;
 
-	if (!strcasecmp(argv[2], "atleast"))
+	if (!strcasecmp(argv[3], "atleast"))
 		atleast = 1;
 
 	if (!atleast) {
@@ -273,7 +273,7 @@
 	if ((argc < 3) || (argc > 5))
 		return RESULT_SHOWUSAGE;
 
-	if (!strcasecmp(argv[2], "atleast"))
+	if (!strcasecmp(argv[3], "atleast"))
 		atleast = 1;
 
 	if (!atleast) {



More information about the asterisk-commits mailing list