test build of this on openwrt please

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15716 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Michael Jerris 2009-11-30 12:20:55 +00:00
parent bd6082c923
commit c619db0f4e
1 changed files with 4 additions and 2 deletions

View File

@ -1302,9 +1302,11 @@ void launch_sofia_profile_thread(sofia_profile_t *profile)
static void logger(void *logarg, char const *fmt, va_list ap)
{
if (fmt && ap) {
if (!fmt) return;
if (ap) {
switch_log_vprintf(SWITCH_CHANNEL_LOG_CLEAN, mod_sofia_globals.tracelevel, fmt, ap);
} else if (fmt && !ap) {
} else {
switch_log_printf(SWITCH_CHANNEL_LOG_CLEAN, mod_sofia_globals.tracelevel, "%s", fmt);
}
}