git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1148 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Michael Jerris
2006-04-14 03:04:53 +00:00
parent cb28473398
commit d6d313884e
2 changed files with 18 additions and 2 deletions
@@ -155,7 +155,12 @@ static switch_status load_config(void);
static void dl_logger(char *file, const char *func, int line, int level, char *fmt, ...)
{
switch_log_printf(SWITCH_CHANNEL_ID_LOG, file, func, line, SWITCH_LOG_DEBUG, fmt);
va_list ap;
va_start(ap, fmt);
switch_log_printf(SWITCH_CHANNEL_ID_LOG, file, func, line, SWITCH_LOG_DEBUG, ap);
va_end(ap);
}
static void get_codecs(struct private_object *tech_pvt)