mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-04 03:50:31 +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.2@43924 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -2062,7 +2062,7 @@ static int load_config(void)
|
||||
char *exten, *party=NULL, *app=NULL, *app_args=NULL;
|
||||
|
||||
if (!tmp_val) {
|
||||
ast_log(LOG_ERROR, "res_features: strdup failed");
|
||||
ast_log(LOG_ERROR, "res_features: strdup failed\n");
|
||||
continue;
|
||||
}
|
||||
|
||||
|
@@ -298,7 +298,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;
|
||||
}
|
||||
|
||||
|
@@ -759,7 +759,7 @@ static int moh_scan_files(struct mohclass *class) {
|
||||
|
||||
files_DIR = opendir(class->dir);
|
||||
if (!files_DIR) {
|
||||
ast_log(LOG_WARNING, "Cannot open dir %s or dir does not exist", class->dir);
|
||||
ast_log(LOG_WARNING, "Cannot open dir %s or dir does not exist\n", class->dir);
|
||||
return -1;
|
||||
}
|
||||
|
||||
@@ -1218,7 +1218,7 @@ 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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user