aboutsummaryrefslogtreecommitdiffstats
path: root/res/res_agi.c
diff options
context:
space:
mode:
authorfile <file@f38db490-d61c-443f-a65b-d21fe96a405b>2007-06-06 12:36:15 +0000
committerfile <file@f38db490-d61c-443f-a65b-d21fe96a405b>2007-06-06 12:36:15 +0000
commit708efeab2228717a310c10f76f1196a222dd1d3d (patch)
tree2eb2e2555dc918baebc1697aa06df23131142c9c /res/res_agi.c
parent4a0fcc5ded7441b52d047506c26ee79df1859ea2 (diff)
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) ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@67598 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'res/res_agi.c')
-rw-r--r--res/res_agi.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/res/res_agi.c b/res/res_agi.c
index fd4ac895e..f1a1f2ff0 100644
--- a/res/res_agi.c
+++ b/res/res_agi.c
@@ -1322,7 +1322,7 @@ static const char debug_usage[] =
" 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_do_debug(int fd, int argc, char *argv[])
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");