sangoma might fully work now

git-svn-id: http://svn.openzap.org/svn/openzap/trunk@279 a93c3328-9c30-0410-af19-c9cd2b2d52af
This commit is contained in:
Anthony Minessale
2007-06-21 00:00:10 +00:00
parent 0943e49fbe
commit 7d57b68604
4 changed files with 74 additions and 49 deletions

View File

@@ -1044,7 +1044,7 @@ static void zap_logger(char *file, const char *func, int line, int level, char *
va_start(ap, fmt);
if (switch_vasprintf(&data, fmt, ap) != -1) {
switch_log_printf(SWITCH_CHANNEL_ID_LOG, file, func, line, NULL, level, data);
switch_log_printf(SWITCH_CHANNEL_ID_LOG, file, (char *)func, line, NULL, level, data);
free(data);
}