提交 04ccb6ff authored 作者: Brian West's avatar Brian West

update

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1129 d0543943-73ff-0310-b7d9-9358b9ac24b2
上级 a9a23aed
......@@ -89,7 +89,7 @@ static switch_status switch_console_logger(const switch_log_node *node, switch_l
if (!lookup && all_level == -1) {
if ((lookup = switch_core_hash_find(log_hash, "all"))) {
all_level = (int) switch_log_str2level(lookup);
all_level = (int8_t) switch_log_str2level(lookup);
} else {
all_level = -2;
}
......
......@@ -205,7 +205,9 @@ SWITCH_DECLARE(void) switch_log_printf(switch_text_channel channel, char *file,
if (channel == SWITCH_CHANNEL_ID_LOG_CLEAN) {
content = data;
} else {
content = strchr(data, 128);
if ((content = strchr(data, 128))) {
*content = ' ';
}
}
if (channel == SWITCH_CHANNEL_ID_EVENT) {
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论