summaryrefslogtreecommitdiff
path: root/apps
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 /apps
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 'apps')
-rw-r--r--apps/app_chanspy.c8
-rw-r--r--apps/app_ices.c2
-rw-r--r--apps/app_sms.c8
-rw-r--r--apps/app_voicemail.c2
4 files changed, 10 insertions, 10 deletions
diff --git a/apps/app_chanspy.c b/apps/app_chanspy.c
index 9a39622b5..23b4ab04e 100644
--- a/apps/app_chanspy.c
+++ b/apps/app_chanspy.c
@@ -1077,7 +1077,7 @@ static int chanspy_exec(struct ast_channel *chan, const char *data)
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");
}
}
@@ -1086,7 +1086,7 @@ static int chanspy_exec(struct ast_channel *chan, const char *data)
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");
}
}
@@ -1203,7 +1203,7 @@ static int extenspy_exec(struct ast_channel *chan, const char *data)
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");
}
}
@@ -1212,7 +1212,7 @@ static int extenspy_exec(struct ast_channel *chan, const char *data)
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");
}
}
diff --git a/apps/app_ices.c b/apps/app_ices.c
index 8a57860b4..3ed52273d 100644
--- a/apps/app_ices.c
+++ b/apps/app_ices.c
@@ -97,7 +97,7 @@ static int icesencode(char *filename, int fd)
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);
diff --git a/apps/app_sms.c b/apps/app_sms.c
index d5fc353ac..2edc272bd 100644
--- a/apps/app_sms.c
+++ b/apps/app_sms.c
@@ -1373,7 +1373,7 @@ static void sms_messagerx2(sms_t * h)
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 @@ static void sms_process(sms_t * h, int samples, signed short *data)
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 @@ static void sms_process(sms_t * h, int samples, signed short *data)
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 */
}
}
diff --git a/apps/app_voicemail.c b/apps/app_voicemail.c
index 3381933db..990999751 100644
--- a/apps/app_voicemail.c
+++ b/apps/app_voicemail.c
@@ -12748,7 +12748,7 @@ static int vmsayname_exec(struct ast_channel *chan, const char *data)
int res;
if (ast_strlen_zero(data)) {
- ast_log(LOG_WARNING, "VMSayName requires argument mailbox@context");
+ ast_log(LOG_WARNING, "VMSayName requires argument mailbox@context\n");
return -1;
}