From: Russell Bryant Date: Sat, 4 Nov 2006 17:38:24 +0000 (+0000) Subject: fix the "atleast" option to the "core set verbose" and "core set debug" X-Git-Tag: 1.4.0-beta4~199 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=da6cf383d47f1fd3213ce264b4183545a4ba08a4;p=thirdparty%2Fasterisk.git fix the "atleast" option to the "core set verbose" and "core set debug" CLI commands git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@47192 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/main/cli.c b/main/cli.c index cfd8ccce9b..e8f4d3b165 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) {