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 /main | |
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 'main')
-rw-r--r-- | main/cdr.c | 2 | ||||
-rw-r--r-- | main/pbx.c | 4 | ||||
-rw-r--r-- | main/tcptls.c | 2 | ||||
-rw-r--r-- | main/xmldoc.c | 2 |
4 files changed, 5 insertions, 5 deletions
diff --git a/main/cdr.c b/main/cdr.c index 29deb2fe9..f0ba2ea2e 100644 --- a/main/cdr.c +++ b/main/cdr.c @@ -562,7 +562,7 @@ void ast_cdr_merge(struct ast_cdr *to, struct ast_cdr *from) } if (ast_test_flag(to, AST_CDR_FLAG_LOCKED)) { - ast_log(LOG_WARNING, "Merging into locked CDR... no choice."); + ast_log(LOG_WARNING, "Merging into locked CDR... no choice.\n"); to = zcdr; /* safety-- if all there are is locked CDR's, then.... ?? */ lto = NULL; } diff --git a/main/pbx.c b/main/pbx.c index cdeccaf9d..a694e44f6 100644 --- a/main/pbx.c +++ b/main/pbx.c @@ -2904,7 +2904,7 @@ struct ast_exten *pbx_find_extension(struct ast_channel *chan, } if (eval && !(tmpdata = ast_str_thread_get(&switch_data, 512))) { - ast_log(LOG_WARNING, "Can't evaluate overrideswitch?!"); + ast_log(LOG_WARNING, "Can't evaluate overrideswitch?!\n"); break; } else if (eval) { /* Substitute variables now */ @@ -3061,7 +3061,7 @@ struct ast_exten *pbx_find_extension(struct ast_channel *chan, /* Substitute variables now */ if (sw->eval) { if (!(tmpdata = ast_str_thread_get(&switch_data, 512))) { - ast_log(LOG_WARNING, "Can't evaluate switch?!"); + ast_log(LOG_WARNING, "Can't evaluate switch?!\n"); continue; } pbx_substitute_variables_helper(chan, sw->data, ast_str_buffer(tmpdata), ast_str_size(tmpdata)); diff --git a/main/tcptls.c b/main/tcptls.c index 48d8ff75d..267bd60af 100644 --- a/main/tcptls.c +++ b/main/tcptls.c @@ -173,7 +173,7 @@ static void *handle_tcptls_connection(void *data) tcptls_session->f = fopencookie(tcptls_session->ssl, "w+", cookie_funcs); #else /* could add other methods here */ - ast_debug(2, "no tcptls_session->f methods attempted!"); + ast_debug(2, "no tcptls_session->f methods attempted!\n"); #endif if ((tcptls_session->client && !ast_test_flag(&tcptls_session->parent->tls_cfg->flags, AST_SSL_DONT_VERIFY_SERVER)) || (!tcptls_session->client && ast_test_flag(&tcptls_session->parent->tls_cfg->flags, AST_SSL_VERIFY_CLIENT))) { diff --git a/main/xmldoc.c b/main/xmldoc.c index d9119c01d..700813457 100644 --- a/main/xmldoc.c +++ b/main/xmldoc.c @@ -2009,7 +2009,7 @@ int ast_xmldoc_load_documentation(void) /* Get doc root node and check if it starts with '<docs>' */ root_node = ast_xml_get_root(tmpdoc); if (!root_node) { - ast_log(LOG_ERROR, "Error getting documentation root node"); + ast_log(LOG_ERROR, "Error getting documentation root node\n"); ast_xml_close(tmpdoc); continue; } |