From 9ee37f0f8f4a5f9a733d380404bf617b3a2de3ce Mon Sep 17 00:00:00 2001 From: nbd Date: Mon, 19 Oct 2009 11:19:07 +0000 Subject: [PATCH] freeswitch: fix a compile error git-svn-id: svn://svn.openwrt.org/openwrt/packages@18077 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- net/freeswitch/patches/100-compile_fix.patch | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 net/freeswitch/patches/100-compile_fix.patch diff --git a/net/freeswitch/patches/100-compile_fix.patch b/net/freeswitch/patches/100-compile_fix.patch new file mode 100644 index 000000000..e1ebff90f --- /dev/null +++ b/net/freeswitch/patches/100-compile_fix.patch @@ -0,0 +1,15 @@ +--- a/src/mod/endpoints/mod_sofia/sofia.c ++++ b/src/mod/endpoints/mod_sofia/sofia.c +@@ -1066,11 +1066,7 @@ void launch_sofia_profile_thread(sofia_p + + static void logger(void *logarg, char const *fmt, va_list ap) + { +- if (fmt && ap) { +- switch_log_vprintf(SWITCH_CHANNEL_LOG_CLEAN, mod_sofia_globals.tracelevel, fmt, ap); +- } else if (fmt && !ap) { +- switch_log_printf(SWITCH_CHANNEL_LOG_CLEAN, mod_sofia_globals.tracelevel, "%s", fmt); +- } ++ switch_log_vprintf(SWITCH_CHANNEL_LOG_CLEAN, mod_sofia_globals.tracelevel, fmt, ap); + } + + static su_log_t *sofia_get_logger(const char *name) -- 2.11.0