diff options
author | file <file@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-06-06 12:34:06 +0000 |
---|---|---|
committer | file <file@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-06-06 12:34:06 +0000 |
commit | 5fbbfece03a1e3247545f46d8cd9caf8dae864d9 (patch) | |
tree | fe1291adae7c579ee3acfa17a864ed4075bf2193 /res | |
parent | 431d46a7caa8c6def59d8e7fafc5ced7f975625e (diff) |
Make the new "agi debug off" CLI command work. (issue #9890 reported by eliel)
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@67597 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'res')
-rw-r--r-- | res/res_agi.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/res/res_agi.c b/res/res_agi.c index 02ca5dccd..9f20c8f9c 100644 --- a/res/res_agi.c +++ b/res/res_agi.c @@ -1314,7 +1314,7 @@ static char debug_usage[] = " 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_deprecated(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"); |