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
This commit is contained in:
Russell Bryant
2006-11-04 17:38:24 +00:00
parent b6079499e4
commit da6cf383d4

View File

@@ -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) {