diff options
author | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-11-04 17:40:42 +0000 |
---|---|---|
committer | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-11-04 17:40:42 +0000 |
commit | 400f85893772677e042e257dd88715cde2cf78f1 (patch) | |
tree | ea3a9666eaeb094e0cbea9077d1e3f080d15f308 /main/cli.c | |
parent | 2aaf83d6db7b08a1e72add358d31d0d09f8899a4 (diff) |
Merged revisions 47192 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r47192 | russell | 2006-11-04 12:38:24 -0500 (Sat, 04 Nov 2006) | 3 lines
fix the "atleast" option to the "core set verbose" and "core set debug"
CLI commands
........
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@47193 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 ba299b5f8..c548c497a 100644 --- a/main/cli.c +++ b/main/cli.c @@ -181,7 +181,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) { @@ -219,7 +219,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) { |