aboutsummaryrefslogtreecommitdiffstats
path: root/res
diff options
context:
space:
mode:
authorfile <file@f38db490-d61c-443f-a65b-d21fe96a405b>2006-09-28 18:05:43 +0000
committerfile <file@f38db490-d61c-443f-a65b-d21fe96a405b>2006-09-28 18:05:43 +0000
commitb24edee2ba1446747594f0bd55d2c6154648ac4e (patch)
tree14970957b2a8609ec5321f54cceca478cd1c89cd /res
parent2a4ddf01ad7263975ccf987907e9aa8bbfbfe60b (diff)
Put in missing \ns on the end of ast_logs (issue #7936 reported by wojtekka)
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@43933 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'res')
-rw-r--r--res/res_monitor.c2
-rw-r--r--res/res_musiconhold.c2
-rw-r--r--res/res_smdi.c6
3 files changed, 5 insertions, 5 deletions
diff --git a/res/res_monitor.c b/res/res_monitor.c
index e81325da7..ebac350f8 100644
--- a/res/res_monitor.c
+++ b/res/res_monitor.c
@@ -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;
}
diff --git a/res/res_musiconhold.c b/res/res_musiconhold.c
index 130533069..19d0fd069 100644
--- a/res/res_musiconhold.c
+++ b/res/res_musiconhold.c
@@ -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);
}
diff --git a/res/res_smdi.c b/res/res_smdi.c
index c939aba27..c0c7f8927 100644
--- a/res/res_smdi.c
+++ b/res/res_smdi.c
@@ -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);
}