[Asterisk-cvs] asterisk asterisk.c, 1.125.2.3, 1.125.2.4 cli.c,
1.53.2.4, 1.53.2.5
russell at lists.digium.com
russell at lists.digium.com
Thu Dec 30 16:21:45 CST 2004
Update of /usr/cvsroot/asterisk
In directory mongoose.digium.com:/tmp/cvs-serv28639
Modified Files:
Tag: v1-0
asterisk.c cli.c
Log Message:
fix typos (bug #3162)
Index: asterisk.c
===================================================================
RCS file: /usr/cvsroot/asterisk/asterisk.c,v
retrieving revision 1.125.2.3
retrieving revision 1.125.2.4
diff -u -d -r1.125.2.3 -r1.125.2.4
--- asterisk.c 28 Dec 2004 12:10:02 -0000 1.125.2.3
+++ asterisk.c 30 Dec 2004 21:16:25 -0000 1.125.2.4
@@ -1404,9 +1404,9 @@
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;
Index: cli.c
===================================================================
RCS file: /usr/cvsroot/asterisk/cli.c,v
retrieving revision 1.53.2.4
retrieving revision 1.53.2.5
diff -u -d -r1.53.2.4 -r1.53.2.5
--- cli.c 18 Nov 2004 04:16:47 -0000 1.53.2.4
+++ cli.c 30 Dec 2004 21:16:25 -0000 1.53.2.5
@@ -147,7 +147,7 @@
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;
@@ -157,6 +157,7 @@
{
int val = 0;
int oldval = 0;
+
/* Has a hidden 'at least' argument */
if ((argc != 3) && (argc != 4))
return RESULT_SHOWUSAGE;
@@ -173,7 +174,7 @@
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;
More information about the svn-commits
mailing list