[svn-commits] kmoore: branch 10 r361472 - in /branches/10: ./ addons/ apps/ channels/ forma...

SVN commits to the Digium repositories svn-commits at lists.digium.com
Fri Apr 6 13:13:10 CDT 2012


Author: kmoore
Date: Fri Apr  6 13:13:04 2012
New Revision: 361472

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=361472
Log:
Add missing newlines to CLI logging
........

Merged revisions 361471 from http://svn.asterisk.org/svn/asterisk/branches/1.8

Modified:
    branches/10/   (props changed)
    branches/10/addons/chan_mobile.c
    branches/10/apps/app_chanspy.c
    branches/10/apps/app_ices.c
    branches/10/apps/app_sms.c
    branches/10/apps/app_voicemail.c
    branches/10/channels/chan_gtalk.c
    branches/10/channels/chan_iax2.c
    branches/10/channels/chan_mgcp.c
    branches/10/channels/chan_sip.c
    branches/10/channels/chan_unistim.c
    branches/10/channels/console_gui.c
    branches/10/channels/console_video.c
    branches/10/formats/format_ogg_vorbis.c
    branches/10/funcs/func_channel.c
    branches/10/funcs/func_strings.c
    branches/10/main/cdr.c
    branches/10/main/pbx.c
    branches/10/main/tcptls.c
    branches/10/main/xmldoc.c
    branches/10/res/res_clioriginate.c
    branches/10/res/res_config_sqlite.c
    branches/10/res/res_srtp.c

Propchange: branches/10/
------------------------------------------------------------------------------
Binary property 'branch-1.8-merged' - no diff available.

Modified: branches/10/addons/chan_mobile.c
URL: http://svnview.digium.com/svn/asterisk/branches/10/addons/chan_mobile.c?view=diff&rev=361472&r1=361471&r2=361472
==============================================================================
--- branches/10/addons/chan_mobile.c (original)
+++ branches/10/addons/chan_mobile.c Fri Apr  6 13:13:04 2012
@@ -1719,7 +1719,7 @@
 	return 1;
 
 e_return:
-	ast_log(LOG_ERROR, "error parsing AT result on rfcomm socket");
+	ast_log(LOG_ERROR, "error parsing AT result on rfcomm socket\n");
 	return res;
 }
 

Modified: branches/10/apps/app_chanspy.c
URL: http://svnview.digium.com/svn/asterisk/branches/10/apps/app_chanspy.c?view=diff&rev=361472&r1=361471&r2=361472
==============================================================================
--- branches/10/apps/app_chanspy.c (original)
+++ branches/10/apps/app_chanspy.c Fri Apr  6 13:13:04 2012
@@ -1081,7 +1081,7 @@
 			if (strchr("0123456789*#", tmp) && tmp != '\0') {
 				user_options.exit = tmp;
 			} else {
-				ast_log(LOG_NOTICE, "Argument for option 'x' must be a valid DTMF digit.");
+				ast_log(LOG_NOTICE, "Argument for option 'x' must be a valid DTMF digit.\n");
 			}
 		}
 
@@ -1090,7 +1090,7 @@
 			if (strchr("0123456789*#", tmp) && tmp != '\0') {
 				user_options.cycle = tmp;
 			} else {
-				ast_log(LOG_NOTICE, "Argument for option 'c' must be a valid DTMF digit.");
+				ast_log(LOG_NOTICE, "Argument for option 'c' must be a valid DTMF digit.\n");
 			}
 		}
 
@@ -1207,7 +1207,7 @@
 			if (strchr("0123456789*#", tmp) && tmp != '\0') {
 				user_options.exit = tmp;
 			} else {
-				ast_log(LOG_NOTICE, "Argument for option 'x' must be a valid DTMF digit.");
+				ast_log(LOG_NOTICE, "Argument for option 'x' must be a valid DTMF digit.\n");
 			}
 		}
 
@@ -1216,7 +1216,7 @@
 			if (strchr("0123456789*#", tmp) && tmp != '\0') {
 				user_options.cycle = tmp;
 			} else {
-				ast_log(LOG_NOTICE, "Argument for option 'c' must be a valid DTMF digit.");
+				ast_log(LOG_NOTICE, "Argument for option 'c' must be a valid DTMF digit.\n");
 			}
 		}
 

Modified: branches/10/apps/app_ices.c
URL: http://svnview.digium.com/svn/asterisk/branches/10/apps/app_ices.c?view=diff&rev=361472&r1=361471&r2=361472
==============================================================================
--- branches/10/apps/app_ices.c (original)
+++ branches/10/apps/app_ices.c Fri Apr  6 13:13:04 2012
@@ -97,7 +97,7 @@
 	execl(path_BIN "ices2", "ices", filename, SENTINEL);
 	execlp("ices2", "ices", filename, SENTINEL);
 
-	ast_debug(1, "Couldn't find ices version 2, attempting to use ices version 1.");
+	ast_debug(1, "Couldn't find ices version 2, attempting to use ices version 1.\n");
 
 	execl(path_LOCAL "ices", "ices", filename, SENTINEL);
 	execl(path_BIN "ices", "ices", filename, SENTINEL);

Modified: branches/10/apps/app_sms.c
URL: http://svnview.digium.com/svn/asterisk/branches/10/apps/app_sms.c?view=diff&rev=361472&r1=361471&r2=361472
==============================================================================
--- branches/10/apps/app_sms.c (original)
+++ branches/10/apps/app_sms.c Fri Apr  6 13:13:04 2012
@@ -1373,7 +1373,7 @@
 			h->hangup = 1;                  /* hangup */
 		} else {
 			/* XXX depending on what we are.. */
-			ast_log(LOG_NOTICE, "SMS_SUBMIT or SMS_DELIVERY");
+			ast_log(LOG_NOTICE, "SMS_SUBMIT or SMS_DELIVERY\n");
 			sms_nextoutgoing (h);
 		}
 		break;
@@ -1801,7 +1801,7 @@
 				h->iphasep -= 80;
 				if (h->ibitn++ == 9) {      /* end of byte */
 					if (!bit) {             /* bad stop bit */
-						ast_log(LOG_NOTICE, "bad stop bit");
+						ast_log(LOG_NOTICE, "bad stop bit\n");
 						h->ierr = 0xFF;     /* unknown error */
 					} else {
 						if (h->ibytep < sizeof(h->imsg)) {
@@ -1809,14 +1809,14 @@
 							h->ibytec += h->ibytev;
 							h->ibytep++;
 						} else if (h->ibytep == sizeof(h->imsg)) {
-							ast_log(LOG_NOTICE, "msg too large");
+							ast_log(LOG_NOTICE, "msg too large\n");
 							h->ierr = 2;    /* bad message length */
 						}
 						if (h->ibytep > 1 && h->ibytep == 3 + h->imsg[1] && !h->ierr) {
 							if (!h->ibytec) {
 								sms_messagerx(h);
 							} else {
-								ast_log(LOG_NOTICE, "bad checksum");
+								ast_log(LOG_NOTICE, "bad checksum\n");
 								h->ierr = 1; /* bad checksum */
 							}
 						}

Modified: branches/10/apps/app_voicemail.c
URL: http://svnview.digium.com/svn/asterisk/branches/10/apps/app_voicemail.c?view=diff&rev=361472&r1=361471&r2=361472
==============================================================================
--- branches/10/apps/app_voicemail.c (original)
+++ branches/10/apps/app_voicemail.c Fri Apr  6 13:13:04 2012
@@ -12530,7 +12530,7 @@
 	int res;
 
 	if (ast_strlen_zero(data)) {
-		ast_log(LOG_WARNING, "VMSayName requires argument mailbox at context");
+		ast_log(LOG_WARNING, "VMSayName requires argument mailbox at context\n");
 		return -1;
 	}
 

Modified: branches/10/channels/chan_gtalk.c
URL: http://svnview.digium.com/svn/asterisk/branches/10/channels/chan_gtalk.c?view=diff&rev=361472&r1=361471&r2=361472
==============================================================================
--- branches/10/channels/chan_gtalk.c (original)
+++ branches/10/channels/chan_gtalk.c Fri Apr  6 13:13:04 2012
@@ -304,7 +304,7 @@
 		if(!payload_eg711u || !payload_pcmu) {
 			iks_delete(payload_pcmu);
 			iks_delete(payload_eg711u);
-			ast_log(LOG_WARNING,"Failed to allocate iks node");
+			ast_log(LOG_WARNING,"Failed to allocate iks node\n");
 			return -1;
 		}
 		iks_insert_attrib(payload_pcmu, "id", "0");
@@ -326,7 +326,7 @@
 		if(!payload_eg711a || !payload_pcma) {
 			iks_delete(payload_eg711a);
 			iks_delete(payload_pcma);
-			ast_log(LOG_WARNING,"Failed to allocate iks node");
+			ast_log(LOG_WARNING,"Failed to allocate iks node\n");
 			return -1;
 		}
 		iks_insert_attrib(payload_pcma, "id", "8");
@@ -345,7 +345,7 @@
 	if (!strcasecmp("ilbc", format)) {
 		iks *payload_ilbc = iks_new("payload-type");
 		if(!payload_ilbc) {
-			ast_log(LOG_WARNING,"Failed to allocate iks node");
+			ast_log(LOG_WARNING,"Failed to allocate iks node\n");
 			return -1;
 		}
 		iks_insert_attrib(payload_ilbc, "id", "97");
@@ -358,7 +358,7 @@
 	if (!strcasecmp("g723", format)) {
 		iks *payload_g723 = iks_new("payload-type");
 		if(!payload_g723) {
-			ast_log(LOG_WARNING,"Failed to allocate iks node");
+			ast_log(LOG_WARNING,"Failed to allocate iks node\n");
 			return -1;
 		}
 		iks_insert_attrib(payload_g723, "id", "4");
@@ -371,7 +371,7 @@
 	if (!strcasecmp("speex", format)) {
 		iks *payload_speex = iks_new("payload-type");
 		if(!payload_speex) {
-			ast_log(LOG_WARNING,"Failed to allocate iks node");
+			ast_log(LOG_WARNING,"Failed to allocate iks node\n");
 			return -1;
 		}
 		iks_insert_attrib(payload_speex, "id", "110");
@@ -384,7 +384,7 @@
 	if (!strcasecmp("gsm", format)) {
 		iks *payload_gsm = iks_new("payload-type");
 		if(!payload_gsm) {
-			ast_log(LOG_WARNING,"Failed to allocate iks node");
+			ast_log(LOG_WARNING,"Failed to allocate iks node\n");
 			return -1;
 		}
 		iks_insert_attrib(payload_gsm, "id", "103");
@@ -908,7 +908,7 @@
 	gtalk_get_local_ip(&us);
 
 	if (!strcmp(ast_sockaddr_stringify_addr(&us), "127.0.0.1")) {
-		ast_log(LOG_WARNING, "Found a loopback IP on the system, check your network configuration or set the bindaddr attribute.");
+		ast_log(LOG_WARNING, "Found a loopback IP on the system, check your network configuration or set the bindaddr attribute.\n");
 	}
 
 	/* Setup our gtalk candidates */

Modified: branches/10/channels/chan_iax2.c
URL: http://svnview.digium.com/svn/asterisk/branches/10/channels/chan_iax2.c?view=diff&rev=361472&r1=361471&r2=361472
==============================================================================
--- branches/10/channels/chan_iax2.c (original)
+++ branches/10/channels/chan_iax2.c Fri Apr  6 13:13:04 2012
@@ -5517,7 +5517,7 @@
 	unsigned int transferid = (unsigned int)ast_random();
 
 	if (IAX_CALLENCRYPTED(iaxs[callno0]) || IAX_CALLENCRYPTED(iaxs[callno1])) {
-		ast_debug(1, "transfers are not supported for encrypted calls at this time");
+		ast_debug(1, "transfers are not supported for encrypted calls at this time\n");
 		ast_set_flag64(iaxs[callno0], IAX_NOTRANSFER);
 		ast_set_flag64(iaxs[callno1], IAX_NOTRANSFER);
 		return 0;
@@ -7983,7 +7983,7 @@
 		user = user_unref(user);
 	}
 	if (ast_test_flag64(p, IAX_FORCE_ENCRYPT) && !p->encmethods) { 
-		ast_log(LOG_NOTICE, "Call Terminated, Incoming call is unencrypted while force encrypt is enabled.");
+		ast_log(LOG_NOTICE, "Call Terminated, Incoming call is unencrypted while force encrypt is enabled.\n");
 		return res;
 	}
 	if (!ast_test_flag(&p->state, IAX_STATE_AUTHENTICATED))
@@ -8331,7 +8331,7 @@
 	if (ies->encmethods) {
 		ast_set_flag64(p, IAX_ENCRYPTED | IAX_KEYPOPULATED);
 	} else if (ast_test_flag64(iaxs[callno], IAX_FORCE_ENCRYPT)) {
-		ast_log(LOG_NOTICE, "Call initiated without encryption while forceencryption=yes option is set");
+		ast_log(LOG_NOTICE, "Call initiated without encryption while forceencryption=yes option is set\n");
 		return -1;             /* if force encryption is yes, and no encryption methods, then return -1 to hangup */
 	}
 	if (!res) {

Modified: branches/10/channels/chan_mgcp.c
URL: http://svnview.digium.com/svn/asterisk/branches/10/channels/chan_mgcp.c?view=diff&rev=361472&r1=361471&r2=361472
==============================================================================
--- branches/10/channels/chan_mgcp.c (original)
+++ branches/10/channels/chan_mgcp.c Fri Apr  6 13:13:04 2012
@@ -1306,7 +1306,7 @@
 		ast_debug(1, "Sending DTMF using inband/hybrid\n");
 		res = -1; /* Let asterisk play inband indications */
 	} else if (p->dtmfmode & MGCP_DTMF_RFC2833) {
-		ast_debug(1, "Sending DTMF using RFC2833");
+		ast_debug(1, "Sending DTMF using RFC2833\n");
 		ast_rtp_instance_dtmf_begin(sub->rtp, digit);
 	} else {
 		ast_log(LOG_ERROR, "Don't know about DTMF_MODE %d\n", p->dtmfmode);

Modified: branches/10/channels/chan_sip.c
URL: http://svnview.digium.com/svn/asterisk/branches/10/channels/chan_sip.c?view=diff&rev=361472&r1=361471&r2=361472
==============================================================================
--- branches/10/channels/chan_sip.c (original)
+++ branches/10/channels/chan_sip.c Fri Apr  6 13:13:04 2012
@@ -2783,7 +2783,7 @@
 			case TCPTLS_ALERT_DATA:
 				ao2_lock(me);
 				if (!(packet = AST_LIST_REMOVE_HEAD(&me->packet_q, entry))) {
-					ast_log(LOG_WARNING, "TCPTLS thread alert_pipe indicated packet should be sent, but frame_q is empty");
+					ast_log(LOG_WARNING, "TCPTLS thread alert_pipe indicated packet should be sent, but frame_q is empty\n");
 				}
 				ao2_unlock(me);
 
@@ -5614,7 +5614,7 @@
 			p->options->replaces = ast_var_value(current);
 		} else if (!strcasecmp(ast_var_name(current), "SIP_MAX_FORWARDS")) {
 			if (sscanf(ast_var_value(current), "%30d", &(p->maxforwards)) != 1) {
-				ast_log(LOG_WARNING, "The SIP_MAX_FORWARDS channel variable is not a valid integer.");
+				ast_log(LOG_WARNING, "The SIP_MAX_FORWARDS channel variable is not a valid integer.\n");
 			}
 		}
 	}
@@ -6277,7 +6277,7 @@
 		return 0;
 	}
 	if (ast_test_flag(ast, AST_FLAG_ANSWERED_ELSEWHERE) || ast->hangupcause == AST_CAUSE_ANSWERED_ELSEWHERE) {
-		ast_debug(1, "This call was answered elsewhere");
+		ast_debug(1, "This call was answered elsewhere\n");
 		if (ast->hangupcause == AST_CAUSE_ANSWERED_ELSEWHERE) {
 			ast_debug(1, "####### It's the cause code, buddy. The cause code!!!\n");
 		}
@@ -13303,7 +13303,7 @@
 				ast_str_append(&p->notify->content, 0, "\r\n");
 			ast_str_append(&p->notify->content, 0, "%s", var->value);
 		} else if (!strcasecmp(var->name, "Content-Length")) {
-			ast_log(LOG_WARNING, "it is not necessary to specify Content-Length, ignoring");
+			ast_log(LOG_WARNING, "it is not necessary to specify Content-Length, ignoring\n");
 		} else {
 			header->next = ast_variable_new(var->name, var->value, "");
 			header = header->next;
@@ -19655,7 +19655,7 @@
 					ast_str_append(&p->notify->content, 0, "\r\n");
 				ast_str_append(&p->notify->content, 0, "%s", buf);
 			} else if (!strcasecmp(var->name, "Content-Length")) {
-				ast_log(LOG_WARNING, "it is not necessary to specify Content-Length in sip_notify.conf, ignoring");
+				ast_log(LOG_WARNING, "it is not necessary to specify Content-Length in sip_notify.conf, ignoring\n");
 			} else {
 				header->next = ast_variable_new(var->name, buf, "");
 				header = header->next;

Modified: branches/10/channels/chan_unistim.c
URL: http://svnview.digium.com/svn/asterisk/branches/10/channels/chan_unistim.c?view=diff&rev=361472&r1=361471&r2=361472
==============================================================================
--- branches/10/channels/chan_unistim.c (original)
+++ branches/10/channels/chan_unistim.c Fri Apr  6 13:13:04 2012
@@ -1558,14 +1558,13 @@
 	int tmp, i = 0;
 	char addrmac[19];
 	int res = 0;
-	if (unistimdebug)
-		ast_verb(0, "Mac Address received : ");
 	for (tmp = 15; tmp < 15 + SIZE_HEADER; tmp++) {
 		sprintf(&addrmac[i], "%.2x", (unsigned char) buf[tmp]);
 		i += 2;
 	}
-	if (unistimdebug)
-		ast_verb(0, "%s\n", addrmac);
+	if (unistimdebug) {
+		ast_verb(0, "Mac Address received : %s\n", addrmac);
+	}
 	strcpy(pte->macaddr, addrmac);
 	res = unistim_register(pte);
 	if (!res) {
@@ -5201,7 +5200,7 @@
 		else if (!strcasecmp(v->name, "contrast")) {
 			d->contrast = atoi(v->value);
 			if ((d->contrast < 0) || (d->contrast > 15)) {
-				ast_log(LOG_WARNING, "constrast must be beetween 0 and 15");
+				ast_log(LOG_WARNING, "contrast must be beetween 0 and 15\n");
 				d->contrast = 8;
 			}
 		} else if (!strcasecmp(v->name, "nat"))

Modified: branches/10/channels/console_gui.c
URL: http://svnview.digium.com/svn/asterisk/branches/10/channels/console_gui.c?view=diff&rev=361472&r1=361471&r2=361472
==============================================================================
--- branches/10/channels/console_gui.c (original)
+++ branches/10/channels/console_gui.c Fri Apr  6 13:13:04 2012
@@ -976,7 +976,7 @@
 			case SDL_ACTIVEEVENT:
 #if 0 /* do not react, we don't want to die because the window is minimized */
 				if (ev[i].active.gain == 0 && ev[i].active.state & SDL_APPACTIVE) {
-					ast_log(LOG_WARNING, "/* somebody has killed us ? */");
+					ast_log(LOG_WARNING, "/* somebody has killed us ? */\n");
 					ast_cli_command(gui->outfd, "stop now");
 				}
 #endif
@@ -1635,7 +1635,7 @@
 	if (gui->kp_size == 0) {
 		gui->kp = ast_calloc(10, sizeof(e));
 		if (gui->kp == NULL) {
-			ast_log(LOG_WARNING, "cannot allocate kp");
+			ast_log(LOG_WARNING, "cannot allocate kp\n");
 			return 0;
 		}
 		gui->kp_size = 10;
@@ -1643,7 +1643,7 @@
 	if (gui->kp_size == gui->kp_used) { /* must allocate */
 		struct keypad_entry *a = ast_realloc(gui->kp, sizeof(e)*(gui->kp_size+10));
 		if (a == NULL) {
-			ast_log(LOG_WARNING, "cannot reallocate kp");
+			ast_log(LOG_WARNING, "cannot reallocate kp\n");
 			return 0;
 		}
 		gui->kp = a;

Modified: branches/10/channels/console_video.c
URL: http://svnview.digium.com/svn/asterisk/branches/10/channels/console_video.c?view=diff&rev=361472&r1=361471&r2=361472
==============================================================================
--- branches/10/channels/console_video.c (original)
+++ branches/10/channels/console_video.c Fri Apr  6 13:13:04 2012
@@ -657,7 +657,7 @@
 			eff_w, eff_h, out->pix_fmt,
 			SWS_BICUBIC, NULL, NULL, NULL);
 		if (convert_ctx == NULL) {
-			ast_log(LOG_ERROR, "FFMPEG::convert_cmodel : swscale context initialization failed");
+			ast_log(LOG_ERROR, "FFMPEG::convert_cmodel : swscale context initialization failed\n");
 			return;
 		}
 		if (0)

Modified: branches/10/formats/format_ogg_vorbis.c
URL: http://svnview.digium.com/svn/asterisk/branches/10/formats/format_ogg_vorbis.c?view=diff&rev=361472&r1=361471&r2=361472
==============================================================================
--- branches/10/formats/format_ogg_vorbis.c (original)
+++ branches/10/formats/format_ogg_vorbis.c Fri Apr  6 13:13:04 2012
@@ -305,7 +305,7 @@
 	long bytes_read;
 
 	if (desc->writing) {
-		ast_log(LOG_WARNING, "Reading is not suport on OGG/Vorbis on write files.");
+		ast_log(LOG_WARNING, "Reading is not suport on OGG/Vorbis on write files.\n");
 		return NULL;
 	}
 

Modified: branches/10/funcs/func_channel.c
URL: http://svnview.digium.com/svn/asterisk/branches/10/funcs/func_channel.c?view=diff&rev=361472&r1=361471&r2=361472
==============================================================================
--- branches/10/funcs/func_channel.c (original)
+++ branches/10/funcs/func_channel.c Fri Apr  6 13:13:04 2012
@@ -464,7 +464,7 @@
 			ret = ast_channel_trace_disable(chan);
 		else {
 			ret = -1;
-			ast_log(LOG_WARNING, "Invalid value for CHANNEL(trace).");
+			ast_log(LOG_WARNING, "Invalid value for CHANNEL(trace).\n");
 		}
 		ast_channel_unlock(chan);
 	}

Modified: branches/10/funcs/func_strings.c
URL: http://svnview.digium.com/svn/asterisk/branches/10/funcs/func_strings.c?view=diff&rev=361472&r1=361471&r2=361472
==============================================================================
--- branches/10/funcs/func_strings.c (original)
+++ branches/10/funcs/func_strings.c Fri Apr  6 13:13:04 2012
@@ -1229,7 +1229,7 @@
 	char *bufptr = buf, *dataptr = data;
 
 	if (len < 3){ /* at least two for quotes and one for binary zero */
-		ast_log(LOG_ERROR, "Not enough buffer");
+		ast_log(LOG_ERROR, "Not enough buffer\n");
 		return -1;
 	}
 
@@ -1268,7 +1268,7 @@
 	char *bufptr = buf, *dataptr = data;
 
 	if (len < 3) { /* at least two for quotes and one for binary zero */
-		ast_log(LOG_ERROR, "Not enough buffer");
+		ast_log(LOG_ERROR, "Not enough buffer\n");
 		return -1;
 	}
 

Modified: branches/10/main/cdr.c
URL: http://svnview.digium.com/svn/asterisk/branches/10/main/cdr.c?view=diff&rev=361472&r1=361471&r2=361472
==============================================================================
--- branches/10/main/cdr.c (original)
+++ branches/10/main/cdr.c Fri Apr  6 13:13:04 2012
@@ -554,7 +554,7 @@
 		}
 
 		if (ast_test_flag(to, AST_CDR_FLAG_LOCKED)) {
-			ast_log(LOG_WARNING, "Merging into locked CDR... no choice.");
+			ast_log(LOG_WARNING, "Merging into locked CDR... no choice.\n");
 			to = zcdr; /* safety-- if all there are is locked CDR's, then.... ?? */
 			lto = NULL;
 		}

Modified: branches/10/main/pbx.c
URL: http://svnview.digium.com/svn/asterisk/branches/10/main/pbx.c?view=diff&rev=361472&r1=361471&r2=361472
==============================================================================
--- branches/10/main/pbx.c (original)
+++ branches/10/main/pbx.c Fri Apr  6 13:13:04 2012
@@ -2904,7 +2904,7 @@
 			}
 
 			if (eval && !(tmpdata = ast_str_thread_get(&switch_data, 512))) {
-				ast_log(LOG_WARNING, "Can't evaluate overrideswitch?!");
+				ast_log(LOG_WARNING, "Can't evaluate overrideswitch?!\n");
 				break;
 			} else if (eval) {
 				/* Substitute variables now */
@@ -3061,7 +3061,7 @@
 		/* Substitute variables now */
 		if (sw->eval) {
 			if (!(tmpdata = ast_str_thread_get(&switch_data, 512))) {
-				ast_log(LOG_WARNING, "Can't evaluate switch?!");
+				ast_log(LOG_WARNING, "Can't evaluate switch?!\n");
 				continue;
 			}
 			pbx_substitute_variables_helper(chan, sw->data, ast_str_buffer(tmpdata), ast_str_size(tmpdata));

Modified: branches/10/main/tcptls.c
URL: http://svnview.digium.com/svn/asterisk/branches/10/main/tcptls.c?view=diff&rev=361472&r1=361471&r2=361472
==============================================================================
--- branches/10/main/tcptls.c (original)
+++ branches/10/main/tcptls.c Fri Apr  6 13:13:04 2012
@@ -175,7 +175,7 @@
 			tcptls_session->f = fopencookie(tcptls_session->ssl, "w+", cookie_funcs);
 #else
 			/* could add other methods here */
-			ast_debug(2, "no tcptls_session->f methods attempted!");
+			ast_debug(2, "no tcptls_session->f methods attempted!\n");
 #endif
 			if ((tcptls_session->client && !ast_test_flag(&tcptls_session->parent->tls_cfg->flags, AST_SSL_DONT_VERIFY_SERVER))
 				|| (!tcptls_session->client && ast_test_flag(&tcptls_session->parent->tls_cfg->flags, AST_SSL_VERIFY_CLIENT))) {

Modified: branches/10/main/xmldoc.c
URL: http://svnview.digium.com/svn/asterisk/branches/10/main/xmldoc.c?view=diff&rev=361472&r1=361471&r2=361472
==============================================================================
--- branches/10/main/xmldoc.c (original)
+++ branches/10/main/xmldoc.c Fri Apr  6 13:13:04 2012
@@ -2009,7 +2009,7 @@
 		/* Get doc root node and check if it starts with '<docs>' */
 		root_node = ast_xml_get_root(tmpdoc);
 		if (!root_node) {
-			ast_log(LOG_ERROR, "Error getting documentation root node");
+			ast_log(LOG_ERROR, "Error getting documentation root node\n");
 			ast_xml_close(tmpdoc);
 			continue;
 		}

Modified: branches/10/res/res_clioriginate.c
URL: http://svnview.digium.com/svn/asterisk/branches/10/res/res_clioriginate.c?view=diff&rev=361472&r1=361471&r2=361472
==============================================================================
--- branches/10/res/res_clioriginate.c (original)
+++ branches/10/res/res_clioriginate.c Fri Apr  6 13:13:04 2012
@@ -181,7 +181,6 @@
 	} else if (!strcasecmp("extension", a->argv[3])) {
 		res = orig_exten(a->fd, a->argv[2], a->argv[4]);
 	} else {
-		ast_log(LOG_WARNING, "else");
 		res = CLI_SHOWUSAGE;
 	}
 

Modified: branches/10/res/res_config_sqlite.c
URL: http://svnview.digium.com/svn/asterisk/branches/10/res/res_config_sqlite.c?view=diff&rev=361472&r1=361471&r2=361472
==============================================================================
--- branches/10/res/res_config_sqlite.c (original)
+++ branches/10/res/res_config_sqlite.c Fri Apr  6 13:13:04 2012
@@ -903,7 +903,7 @@
 	var = ast_variable_new(argv[RES_CONFIG_SQLITE_CONFIG_VAR_NAME], argv[RES_CONFIG_SQLITE_CONFIG_VAR_VAL], "");
 
 	if (!var) {
-		ast_log(LOG_WARNING, "Unable to allocate variable");
+		ast_log(LOG_WARNING, "Unable to allocate variable\n");
 		return 1;
 	}
 

Modified: branches/10/res/res_srtp.c
URL: http://svnview.digium.com/svn/asterisk/branches/10/res/res_srtp.c?view=diff&rev=361472&r1=361471&r2=361472
==============================================================================
--- branches/10/res/res_srtp.c (original)
+++ branches/10/res/res_srtp.c Fri Apr  6 13:13:04 2012
@@ -475,7 +475,7 @@
 	/* For existing streams, replace if its an SSRC stream, or bail if its a wildcard */
 	if ((match = find_policy(srtp, &policy->sp, OBJ_POINTER))) {
 		if (policy->sp.ssrc.type != ssrc_specific) {
-			ast_log(AST_LOG_WARNING, "Cannot replace an existing wildcard policy");
+			ast_log(AST_LOG_WARNING, "Cannot replace an existing wildcard policy\n");
 			ao2_t_ref(match, -1, "Unreffing already existing policy");
 			return -1;
 		} else {




More information about the svn-commits mailing list