fix for new switch_log_printf prototype

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5415 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Michael Jerris 2007-06-20 10:46:51 +00:00
parent 69705d5d00
commit 9aa7ed492c
1 changed files with 2 additions and 2 deletions

View File

@ -732,7 +732,7 @@ static void dl_logger(char *file, const char *func, int line, int level, char *f
if (strlen(xmltxt) > 2) {
xml = switch_xml_parse_str(xmltxt, strlen(xmltxt));
form = switch_xml_toxml(xml);
switch_log_printf(SWITCH_CHANNEL_ID_LOG, file, func, line, level,
switch_log_printf(SWITCH_CHANNEL_ID_LOG, file, func, line, NULL, level,
"%s:\n-------------------------------------------------------------------------------\n"
"%s\n", ll, form);
switch_xml_free(xml);
@ -741,7 +741,7 @@ static void dl_logger(char *file, const char *func, int line, int level, char *f
}
}
} else {
switch_log_printf(SWITCH_CHANNEL_ID_LOG, file, func, line, level, "%s\n", data);
switch_log_printf(SWITCH_CHANNEL_ID_LOG, file, func, line, NULL, level, "%s\n", data);
}
}
va_end(ap);