mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-05 12:16:00 +00:00
Fix additional typos (bug #3162)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4581 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
5
cli.c
5
cli.c
@@ -150,6 +150,7 @@ static int handle_set_verbose(int fd, int argc, char *argv[])
|
||||
{
|
||||
int val = 0;
|
||||
int oldval = 0;
|
||||
|
||||
/* Has a hidden 'at least' argument */
|
||||
if ((argc != 3) && (argc != 4))
|
||||
return RESULT_SHOWUSAGE;
|
||||
@@ -166,7 +167,7 @@ static int handle_set_verbose(int fd, int argc, char *argv[])
|
||||
if (oldval != option_verbose && option_verbose > 0)
|
||||
ast_cli(fd, "Verbosity was %d and is now %d\n", oldval, option_verbose);
|
||||
else if (oldval > 0 && option_verbose > 0)
|
||||
ast_cli(fd, "Verbosity is atleast %d\n", option_verbose);
|
||||
ast_cli(fd, "Verbosity is at least %d\n", option_verbose);
|
||||
else if (oldval > 0 && option_verbose == 0)
|
||||
ast_cli(fd, "Verbosity is now OFF\n");
|
||||
return RESULT_SUCCESS;
|
||||
@@ -192,7 +193,7 @@ static int handle_set_debug(int fd, int argc, char *argv[])
|
||||
if (oldval != option_debug && option_debug > 0)
|
||||
ast_cli(fd, "Core debug was %d and is now %d\n", oldval, option_debug);
|
||||
else if (oldval > 0 && option_debug > 0)
|
||||
ast_cli(fd, "Core debug is atleast %d\n", option_debug);
|
||||
ast_cli(fd, "Core debug is at least %d\n", option_debug);
|
||||
else if (oldval > 0 && option_debug == 0)
|
||||
ast_cli(fd, "Core debug is now OFF\n");
|
||||
return RESULT_SUCCESS;
|
||||
|
Reference in New Issue
Block a user