mirror of
				https://github.com/asterisk/asterisk.git
				synced 2025-10-31 02:37:10 +00:00 
			
		
		
		
	Put in missing \ns on the end of ast_logs (issue #7936 reported by wojtekka)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@43933 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
		| @@ -338,7 +338,7 @@ int ast_monitor_change_fname(struct ast_channel *chan, const char *fname_base, i | ||||
| { | ||||
| 	char tmp[256]; | ||||
| 	if (ast_strlen_zero(fname_base)) { | ||||
| 		ast_log(LOG_WARNING, "Cannot change monitor filename of channel %s to null", chan->name); | ||||
| 		ast_log(LOG_WARNING, "Cannot change monitor filename of channel %s to null\n", chan->name); | ||||
| 		return -1; | ||||
| 	} | ||||
|  | ||||
|   | ||||
| @@ -1245,7 +1245,7 @@ static int load_module(void) | ||||
| 		res = ast_register_application(app4, moh4_exec, synopsis4, descrip4); | ||||
|  | ||||
| 	if (!init_classes(0)) { 	/* No music classes configured, so skip it */ | ||||
| 		ast_log(LOG_WARNING, "No music on hold classes configured, disabling music on hold."); | ||||
| 		ast_log(LOG_WARNING, "No music on hold classes configured, disabling music on hold.\n"); | ||||
| 	} else { | ||||
| 		ast_install_music_functions(local_ast_moh_start, local_ast_moh_stop, local_ast_moh_cleanup); | ||||
| 	} | ||||
|   | ||||
| @@ -143,7 +143,7 @@ int ast_smdi_mwi_unset(struct ast_smdi_interface *iface, const char *mailbox) | ||||
| 	fclose(file); | ||||
|  | ||||
| 	ASTOBJ_UNLOCK(iface); | ||||
| 	ast_log(LOG_DEBUG, "Sent MWI unset message for %s on %s", mailbox, iface->name); | ||||
| 	ast_log(LOG_DEBUG, "Sent MWI unset message for %s on %s\n", mailbox, iface->name); | ||||
| 	return 0; | ||||
| } | ||||
|  | ||||
| @@ -199,7 +199,7 @@ struct ast_smdi_md_message *ast_smdi_md_message_pop(struct ast_smdi_interface *i | ||||
| 		if (elapsed > iface->msg_expiry) { | ||||
| 			/* found an expired message */ | ||||
| 			ASTOBJ_UNREF(md_msg, ast_smdi_md_message_destroy); | ||||
| 			ast_log(LOG_NOTICE, "Purged expired message from %s SMDI MD message queue.  Message was %ld milliseconds too old.", | ||||
| 			ast_log(LOG_NOTICE, "Purged expired message from %s SMDI MD message queue.  Message was %ld milliseconds too old.\n", | ||||
| 				iface->name, elapsed - iface->msg_expiry); | ||||
| 			md_msg = ASTOBJ_CONTAINER_UNLINK_START(&iface->md_q); | ||||
| 		} | ||||
| @@ -267,7 +267,7 @@ extern struct ast_smdi_mwi_message *ast_smdi_mwi_message_pop(struct ast_smdi_int | ||||
| 		if (elapsed > iface->msg_expiry) { | ||||
| 			/* found an expired message */ | ||||
| 			ASTOBJ_UNREF(mwi_msg, ast_smdi_mwi_message_destroy); | ||||
| 			ast_log(LOG_NOTICE, "Purged expired message from %s SMDI MWI message queue.  Message was %ld milliseconds too old.", | ||||
| 			ast_log(LOG_NOTICE, "Purged expired message from %s SMDI MWI message queue.  Message was %ld milliseconds too old.\n", | ||||
| 				iface->name, elapsed - iface->msg_expiry); | ||||
| 			mwi_msg = ASTOBJ_CONTAINER_UNLINK_START(&iface->mwi_q); | ||||
| 		} | ||||
|   | ||||
		Reference in New Issue
	
	Block a user