mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-22 12:52:33 +00:00
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
This commit is contained in:
@@ -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));
|
||||
|
Reference in New Issue
Block a user