[asterisk-commits] file: branch 1.4 r67597 - /branches/1.4/res/res_agi.c

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Wed Jun 6 05:34:06 MST 2007


Author: file
Date: Wed Jun  6 07:34:06 2007
New Revision: 67597

URL: http://svn.digium.com/view/asterisk?view=rev&rev=67597
Log:
Make the new "agi debug off" CLI command work. (issue #9890 reported by eliel)

Modified:
    branches/1.4/res/res_agi.c

Modified: branches/1.4/res/res_agi.c
URL: http://svn.digium.com/view/asterisk/branches/1.4/res/res_agi.c?view=diff&rev=67597&r1=67596&r2=67597
==============================================================================
--- branches/1.4/res/res_agi.c (original)
+++ branches/1.4/res/res_agi.c Wed Jun  6 07:34:06 2007
@@ -1314,7 +1314,7 @@
 "       Enables dumping of AGI transactions for debugging purposes\n";
 
 static char no_debug_usage[] = 
-"Usage: agi nodebug\n"
+"Usage: agi debug off\n"
 "       Disables dumping of AGI transactions for debugging purposes\n";
 
 static int agi_do_debug(int fd, int argc, char *argv[])
@@ -1337,7 +1337,7 @@
 
 static int agi_no_debug(int fd, int argc, char *argv[])
 {
-	if (argc != 2)
+	if (argc != 3)
 		return RESULT_SHOWUSAGE;
 	agidebug = 0;
 	ast_cli(fd, "AGI Debugging Disabled\n");



More information about the asterisk-commits mailing list