From c31639279a11912dd79e32ff2b0617e0a6649e51 Mon Sep 17 00:00:00 2001 From: Michael Jerris Date: Wed, 20 Jun 2007 11:02:45 +0000 Subject: [PATCH] fix for new switch_log_printf prototype git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5418 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- src/mod/endpoints/mod_wanpipe/mod_wanpipe.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mod/endpoints/mod_wanpipe/mod_wanpipe.c b/src/mod/endpoints/mod_wanpipe/mod_wanpipe.c index c295976aa3..782e53b677 100644 --- a/src/mod/endpoints/mod_wanpipe/mod_wanpipe.c +++ b/src/mod/endpoints/mod_wanpipe/mod_wanpipe.c @@ -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); }