aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2004-12-29 07:46:10 +0000
committermarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2004-12-29 07:46:10 +0000
commit63b86b9f8029d79709af21f382513d86433724b6 (patch)
treed5ef0a042289d1f96f9e87e5a6a997225e2a82ab
parent3e477648dab369835b95a73daaa6dd1d6c5e11a1 (diff)
Fix additional typos (bug #3162)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4581 f38db490-d61c-443f-a65b-d21fe96a405b
-rwxr-xr-xasterisk.c4
-rwxr-xr-xcli.c5
2 files changed, 5 insertions, 4 deletions
diff --git a/asterisk.c b/asterisk.c
index 94dff32ad..76e98b319 100755
--- a/asterisk.c
+++ b/asterisk.c
@@ -1410,9 +1410,9 @@ static void ast_remotecontrol(char * data)
pid = atoi(cpid);
else
pid = -1;
- snprintf(tmp, sizeof(tmp), "set verbose at least %d", option_verbose);
+ snprintf(tmp, sizeof(tmp), "set verbose atleast %d", option_verbose);
fdprint(ast_consock, tmp);
- snprintf(tmp, sizeof(tmp), "set debug at least %d", option_debug);
+ snprintf(tmp, sizeof(tmp), "set debug atleast %d", option_debug);
fdprint(ast_consock, tmp);
ast_verbose("Connected to Asterisk %s currently running on %s (pid = %d)\n", version, hostname, pid);
remotehostname = hostname;
diff --git a/cli.c b/cli.c
index 5571c6449..aa34e01d9 100755
--- a/cli.c
+++ b/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;