mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-04 20:04:50 +00:00
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:
@@ -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) {
|
||||
|
Reference in New Issue
Block a user