[asterisk-commits] file: trunk r67598 - in /trunk: ./ res/res_agi.c

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Wed Jun 6 05:36:15 MST 2007


Author: file
Date: Wed Jun  6 07:36:15 2007
New Revision: 67598

URL: http://svn.digium.com/view/asterisk?view=rev&rev=67598
Log:
Merged revisions 67597 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r67597 | file | 2007-06-06 08:34:06 -0400 (Wed, 06 Jun 2007) | 2 lines

Make the new "agi debug off" CLI command work. (issue #9890 reported by eliel)

........

Modified:
    trunk/   (props changed)
    trunk/res/res_agi.c

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

Modified: trunk/res/res_agi.c
URL: http://svn.digium.com/view/asterisk/trunk/res/res_agi.c?view=diff&rev=67598&r1=67597&r2=67598
==============================================================================
--- trunk/res/res_agi.c (original)
+++ trunk/res/res_agi.c Wed Jun  6 07:36:15 2007
@@ -1322,7 +1322,7 @@
 "       Enables dumping of AGI transactions for debugging purposes\n";
 
 static const 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[])
@@ -1336,7 +1336,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