From 326e41a5347244d8caf0c90a5966a13d303b8029 Mon Sep 17 00:00:00 2001 From: Daniel Dickinson Date: Tue, 13 Jul 2010 06:40:42 +0000 Subject: [PATCH] net/freeswitch: Add back patch for mod_sofia logger, which is needed for kirkwood to compile. SVN-Revision: 22162 --- 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..3380a78da --- /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 +@@ -1571,11 +1571,7 @@ static void logger(void *logarg, char co + if (!fmt) + return; + +- if (ap) { +- switch_log_vprintf(SWITCH_CHANNEL_LOG_CLEAN, mod_sofia_globals.tracelevel, fmt, ap); +- } else { +- 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.30.2