fix for new switch_log_printf prototype

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5418 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Michael Jerris 2007-06-20 11:02:45 +00:00
parent 9d6042dc04
commit c31639279a
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}