提交 c3163927 authored 作者: Michael Jerris's avatar Michael Jerris

fix for new switch_log_printf prototype

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5418 d0543943-73ff-0310-b7d9-9358b9ac24b2
上级 9d6042dc
......@@ -222,7 +222,7 @@ static void wp_logger(char *file, const char *func, int line, int level, char *f
va_start(ap, fmt);
if ((ret = switch_vasprintf(&data, fmt, ap)) != -1) {
switch_log_printf(SWITCH_CHANNEL_ID_LOG, file, func, line, level, "%s", data);
switch_log_printf(SWITCH_CHANNEL_ID_LOG, file, func, line, NULL, level, "%s", data);
}
va_end(ap);
}
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论