提交 9aa7ed49 authored 作者: Michael Jerris's avatar Michael Jerris

fix for new switch_log_printf prototype

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5415 d0543943-73ff-0310-b7d9-9358b9ac24b2
上级 69705d5d
......@@ -732,7 +732,7 @@ static void dl_logger(char *file, const char *func, int line, int level, char *f
if (strlen(xmltxt) > 2) {
xml = switch_xml_parse_str(xmltxt, strlen(xmltxt));
form = switch_xml_toxml(xml);
switch_log_printf(SWITCH_CHANNEL_ID_LOG, file, func, line, level,
switch_log_printf(SWITCH_CHANNEL_ID_LOG, file, func, line, NULL, level,
"%s:\n-------------------------------------------------------------------------------\n"
"%s\n", ll, form);
switch_xml_free(xml);
......@@ -741,7 +741,7 @@ static void dl_logger(char *file, const char *func, int line, int level, char *f
}
}
} else {
switch_log_printf(SWITCH_CHANNEL_ID_LOG, file, func, line, level, "%s\n", data);
switch_log_printf(SWITCH_CHANNEL_ID_LOG, file, func, line, NULL, level, "%s\n", data);
}
}
va_end(ap);
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论