summaryrefslogtreecommitdiff
path: root/channels/chan_unistim.c
diff options
context:
space:
mode:
authorKinsey Moore <kmoore@digium.com>2012-04-06 18:19:03 +0000
committerKinsey Moore <kmoore@digium.com>2012-04-06 18:19:03 +0000
commita485f44022c1e52270244b7bc93efabb4a760be2 (patch)
treec67dac205dac3d0427ba880cb824477dd895b201 /channels/chan_unistim.c
parentfcb7eb3c59e7a8a5d92437cbcc129ca9f251a866 (diff)
Add missing newlines to CLI logging
........ Merged revisions 361471 from http://svn.asterisk.org/svn/asterisk/branches/1.8 ........ Merged revisions 361472 from http://svn.asterisk.org/svn/asterisk/branches/10 git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@361476 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'channels/chan_unistim.c')
-rw-r--r--channels/chan_unistim.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/channels/chan_unistim.c b/channels/chan_unistim.c
index f13105865..723500e45 100644
--- a/channels/chan_unistim.c
+++ b/channels/chan_unistim.c
@@ -2168,7 +2168,7 @@ static int write_history(struct unistimsession *pte, char way, char ismissed)
snprintf(tmp, sizeof(tmp), "%s/%s", ast_config_AST_LOG_DIR, USTM_LOG_DIR);
if (ast_mkdir(tmp, 0770)) {
- ast_log(LOG_WARNING, "Unable to create directory for history");
+ ast_log(LOG_WARNING, "Unable to create directory for history\n");
return -1;
}
@@ -6318,7 +6318,7 @@ static struct unistim_device *build_device(const char *cat, const struct ast_var
} 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")) {
@@ -6510,7 +6510,7 @@ static struct unistim_device *build_device(const char *cat, const struct ast_var
struct timeval cur_time = ast_tvnow();
if ((ast_localtime(&cur_time, &tm, 0)) == 0 || ast_strlen_zero(tm.tm_zone)) {
- ast_log(LOG_WARNING, "Error in ast_localtime()");
+ ast_log(LOG_WARNING, "Error in ast_localtime()\n");
ast_copy_string(d->titledefault, "UNISTIM for*", 12);
} else {
if (strlen(tm.tm_zone) < 4) {