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:
parent
9d6042dc04
commit
c31639279a
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue