packages/net/freeswitch/patches/100-compile_fix.patch
cshore 07cbb9fa37 [packages] net/freeswitch: Add back patch for mod_sofia logger, which is needed for kirkwood to compile.
git-svn-id: svn://svn.openwrt.org/openwrt/packages@22162 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-13 06:40:42 +00:00

16 lines
522 B
Diff

--- 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)