[Asterisk-cvs] asterisk app.c, 1.54, 1.55 cdr.c, 1.32, 1.33 manager.c, 1.91, 1.92 pbx.c, 1.222, 1.223 sched.c, 1.15, 1.16

russell at lists.digium.com russell at lists.digium.com
Wed Apr 13 18:42:07 CDT 2005


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

Modified Files:
	app.c cdr.c manager.c pbx.c sched.c 
Log Message:
add missing newlines, fix misspelling of nonexistent (bug #4027)


Index: app.c
===================================================================
RCS file: /usr/cvsroot/asterisk/app.c,v
retrieving revision 1.54
retrieving revision 1.55
diff -u -d -r1.54 -r1.55
--- app.c	27 Mar 2005 22:29:57 -0000	1.54
+++ app.c	13 Apr 2005 23:33:47 -0000	1.55
@@ -231,7 +231,7 @@
 		return ast_has_voicemail_func(mailbox, folder);
 
 	if ((option_verbose > 2) && !warned) {
-		ast_verbose(VERBOSE_PREFIX_3 "Message check requested for mailbox %s/folder %s but voicemail not loaded.", mailbox, folder ? folder : "INBOX");
+		ast_verbose(VERBOSE_PREFIX_3 "Message check requested for mailbox %s/folder %s but voicemail not loaded.\n", mailbox, folder ? folder : "INBOX");
 		warned++;
 	}
 	return 0;
@@ -250,7 +250,7 @@
 
 	if (!warned && (option_verbose > 2)) {
 		warned++;
-		ast_verbose(VERBOSE_PREFIX_3 "Message count requested for mailbox %s but voicemail not loaded.", mailbox);
+		ast_verbose(VERBOSE_PREFIX_3 "Message count requested for mailbox %s but voicemail not loaded.\n", mailbox);
 	}
 
 	return 0;

Index: cdr.c
===================================================================
RCS file: /usr/cvsroot/asterisk/cdr.c,v
retrieving revision 1.32
retrieving revision 1.33
diff -u -d -r1.32 -r1.33
--- cdr.c	29 Mar 2005 06:16:49 -0000	1.32
+++ cdr.c	13 Apr 2005 23:33:47 -0000	1.33
@@ -210,7 +210,7 @@
     struct varshead *headp;
 	
     if (!cdr) {
-		ast_log(LOG_ERROR, "Attempt to set a variable on a nonexistant CDR record.\n");
+		ast_log(LOG_ERROR, "Attempt to set a variable on a nonexistent CDR record.\n");
 		return -1;
 	}
 	while (cdr) {

Index: manager.c
===================================================================
RCS file: /usr/cvsroot/asterisk/manager.c,v
retrieving revision 1.91
retrieving revision 1.92
diff -u -d -r1.91 -r1.92
--- manager.c	13 Apr 2005 05:45:53 -0000	1.91
+++ manager.c	13 Apr 2005 23:33:47 -0000	1.92
@@ -258,7 +258,7 @@
 		ast_mutex_destroy(&s->lock);
 		free(s);
 	} else
-		ast_log(LOG_WARNING, "Trying to delete non-existant session %p?\n", s);
+		ast_log(LOG_WARNING, "Trying to delete nonexistent session %p?\n", s);
 	ast_mutex_unlock(&sessionlock);
 	
 }
@@ -479,7 +479,7 @@
 			set_eventmask(s, events);
 		return 0;
 	}
-	ast_log(LOG_NOTICE, "%s tried to authenticate with non-existant user '%s'\n", ast_inet_ntoa(iabuf, sizeof(iabuf), s->sin.sin_addr), user);
+	ast_log(LOG_NOTICE, "%s tried to authenticate with nonexistent user '%s'\n", ast_inet_ntoa(iabuf, sizeof(iabuf), s->sin.sin_addr), user);
 	ast_config_destroy(cfg);
 	return -1;
 }

Index: pbx.c
===================================================================
RCS file: /usr/cvsroot/asterisk/pbx.c,v
retrieving revision 1.222
retrieving revision 1.223
diff -u -d -r1.222 -r1.223
--- pbx.c	3 Apr 2005 22:24:17 -0000	1.222
+++ pbx.c	13 Apr 2005 23:33:47 -0000	1.223
@@ -6108,7 +6108,7 @@
 	for (inc = ast_walk_context_includes(con, NULL); inc; inc = ast_walk_context_includes(con, inc))
 		if (!ast_context_find(inc->rname)) {
 			res = -1;
-			ast_log(LOG_WARNING, "Context '%s' tries includes non-existant context '%s'\n",
+			ast_log(LOG_WARNING, "Context '%s' tries includes nonexistent context '%s'\n",
 					ast_get_context_name(con), inc->rname);
 		}
 	return res;

Index: sched.c
===================================================================
RCS file: /usr/cvsroot/asterisk/sched.c,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -d -r1.15 -r1.16
--- sched.c	13 Apr 2005 18:46:35 -0000	1.15
+++ sched.c	13 Apr 2005 23:33:47 -0000	1.16
@@ -287,7 +287,7 @@
 	}
 	ast_mutex_unlock(&con->lock);
 	if (!s) {
-		ast_log(LOG_NOTICE, "Attempted to delete non-existant schedule entry %d!\n", id);
+		ast_log(LOG_NOTICE, "Attempted to delete nonexistent schedule entry %d!\n", id);
 #ifdef DO_CRASH
 		CRASH;
 #endif




More information about the svn-commits mailing list