diff options
author | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-11-04 17:38:24 +0000 |
---|---|---|
committer | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-11-04 17:38:24 +0000 |
commit | d6aeab63add9c65a2ef076e0672e8cfb0c766975 (patch) | |
tree | 4b41aafd6604ece463ade8d7bff6b9a1db759965 /main/cli.c | |
parent | 9647f59a3d2339e6889eacf8070a9d0c18426e05 (diff) |
fix the "atleast" option to the "core set verbose" and "core set debug"
CLI commands
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@47192 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'main/cli.c')
-rw-r--r-- | main/cli.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/main/cli.c b/main/cli.c index cfd8ccce9..e8f4d3b16 100644 --- a/main/cli.c +++ b/main/cli.c @@ -208,7 +208,7 @@ static int handle_verbose(int fd, int argc, char *argv[]) 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 @@ static int handle_debug(int fd, int argc, char *argv[]) if ((argc < 3) || (argc > 5)) return RESULT_SHOWUSAGE; - if (!strcasecmp(argv[2], "atleast")) + if (!strcasecmp(argv[3], "atleast")) atleast = 1; if (!atleast) { |