diff options
author | Kinsey Moore <kmoore@digium.com> | 2012-04-06 18:19:03 +0000 |
---|---|---|
committer | Kinsey Moore <kmoore@digium.com> | 2012-04-06 18:19:03 +0000 |
commit | a485f44022c1e52270244b7bc93efabb4a760be2 (patch) | |
tree | c67dac205dac3d0427ba880cb824477dd895b201 /channels/chan_sip.c | |
parent | fcb7eb3c59e7a8a5d92437cbcc129ca9f251a866 (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_sip.c')
-rw-r--r-- | channels/chan_sip.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/channels/chan_sip.c b/channels/chan_sip.c index db209d935..1fe5eb45f 100644 --- a/channels/chan_sip.c +++ b/channels/chan_sip.c @@ -2786,7 +2786,7 @@ static void *_sip_tcp_helper_thread(struct ast_tcptls_session_instance *tcptls_s case TCPTLS_ALERT_DATA: ao2_lock(me); if (!(packet = AST_LIST_REMOVE_HEAD(&me->packet_q, entry))) { - ast_log(LOG_WARNING, "TCPTLS thread alert_pipe indicated packet should be sent, but frame_q is empty"); + ast_log(LOG_WARNING, "TCPTLS thread alert_pipe indicated packet should be sent, but frame_q is empty\n"); } ao2_unlock(me); @@ -5666,7 +5666,7 @@ static int sip_call(struct ast_channel *ast, const char *dest, int timeout) p->options->replaces = ast_var_value(current); } else if (!strcasecmp(ast_var_name(current), "SIP_MAX_FORWARDS")) { if (sscanf(ast_var_value(current), "%30d", &(p->maxforwards)) != 1) { - ast_log(LOG_WARNING, "The SIP_MAX_FORWARDS channel variable is not a valid integer."); + ast_log(LOG_WARNING, "The SIP_MAX_FORWARDS channel variable is not a valid integer.\n"); } } } @@ -6329,7 +6329,7 @@ static int sip_hangup(struct ast_channel *ast) return 0; } if (ast_test_flag(ast_channel_flags(ast), AST_FLAG_ANSWERED_ELSEWHERE) || ast_channel_hangupcause(ast) == AST_CAUSE_ANSWERED_ELSEWHERE) { - ast_debug(1, "This call was answered elsewhere"); + ast_debug(1, "This call was answered elsewhere\n"); if (ast_channel_hangupcause(ast) == AST_CAUSE_ANSWERED_ELSEWHERE) { ast_debug(1, "####### It's the cause code, buddy. The cause code!!!\n"); } @@ -13397,7 +13397,7 @@ static int manager_sipnotify(struct mansession *s, const struct message *m) ast_str_append(&p->notify->content, 0, "\r\n"); ast_str_append(&p->notify->content, 0, "%s", var->value); } else if (!strcasecmp(var->name, "Content-Length")) { - ast_log(LOG_WARNING, "it is not necessary to specify Content-Length, ignoring"); + ast_log(LOG_WARNING, "it is not necessary to specify Content-Length, ignoring\n"); } else { header->next = ast_variable_new(var->name, var->value, ""); header = header->next; @@ -19849,7 +19849,7 @@ static char *sip_cli_notify(struct ast_cli_entry *e, int cmd, struct ast_cli_arg ast_str_append(&p->notify->content, 0, "\r\n"); ast_str_append(&p->notify->content, 0, "%s", buf); } else if (!strcasecmp(var->name, "Content-Length")) { - ast_log(LOG_WARNING, "it is not necessary to specify Content-Length in sip_notify.conf, ignoring"); + ast_log(LOG_WARNING, "it is not necessary to specify Content-Length in sip_notify.conf, ignoring\n"); } else { header->next = ast_variable_new(var->name, buf, ""); header = header->next; |