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: https://origsvn.digium.com/svn/asterisk/trunk@47193 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
parent
8b3fe4556c
commit
7ee7429cf7
|
@ -181,7 +181,7 @@ static int handle_verbose(int fd, int argc, char *argv[])
|
||||||
if ((argc < 3) || (argc > 4))
|
if ((argc < 3) || (argc > 4))
|
||||||
return RESULT_SHOWUSAGE;
|
return RESULT_SHOWUSAGE;
|
||||||
|
|
||||||
if (!strcasecmp(argv[2], "atleast"))
|
if (!strcasecmp(argv[3], "atleast"))
|
||||||
atleast = 1;
|
atleast = 1;
|
||||||
|
|
||||||
if (!atleast) {
|
if (!atleast) {
|
||||||
|
@ -219,7 +219,7 @@ static int handle_debug(int fd, int argc, char *argv[])
|
||||||
if ((argc < 3) || (argc > 5))
|
if ((argc < 3) || (argc > 5))
|
||||||
return RESULT_SHOWUSAGE;
|
return RESULT_SHOWUSAGE;
|
||||||
|
|
||||||
if (!strcasecmp(argv[2], "atleast"))
|
if (!strcasecmp(argv[3], "atleast"))
|
||||||
atleast = 1;
|
atleast = 1;
|
||||||
|
|
||||||
if (!atleast) {
|
if (!atleast) {
|
||||||
|
|
Loading…
Reference in New Issue