[Asterisk-cvs] asterisk asterisk.c,1.132,1.133 cli.c,1.67,1.68

markster at lists.digium.com markster at lists.digium.com
Wed Dec 29 02:51:20 CST 2004


Update of /usr/cvsroot/asterisk
In directory mongoose.digium.com:/tmp/cvs-serv17018

Modified Files:
	asterisk.c cli.c 
Log Message:
Fix additional typos (bug #3162)


Index: asterisk.c
===================================================================
RCS file: /usr/cvsroot/asterisk/asterisk.c,v
retrieving revision 1.132
retrieving revision 1.133
diff -u -d -r1.132 -r1.133
--- asterisk.c	28 Dec 2004 07:51:25 -0000	1.132
+++ asterisk.c	29 Dec 2004 07:46:10 -0000	1.133
@@ -1410,9 +1410,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.67
retrieving revision 1.68
diff -u -d -r1.67 -r1.68
--- cli.c	26 Dec 2004 11:08:34 -0000	1.67
+++ cli.c	29 Dec 2004 07:46:10 -0000	1.68
@@ -150,6 +150,7 @@
 {
 	int val = 0;
 	int oldval = 0;
+
 	/* Has a hidden 'at least' argument */
 	if ((argc != 3) && (argc != 4))
 		return RESULT_SHOWUSAGE;
@@ -166,7 +167,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;
@@ -192,7 +193,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