use our version for better compat
This commit is contained in:
parent
5fd5ee0d48
commit
2c8d5d8ec9
|
@ -1659,7 +1659,7 @@ static void jb_logger(const char *file, const char *func, int line, int level, c
|
||||||
va_list ap;
|
va_list ap;
|
||||||
|
|
||||||
va_start(ap, fmt);
|
va_start(ap, fmt);
|
||||||
ret = stfu_vasprintf(&data, fmt, ap);
|
ret = switch_vasprintf(&data, fmt, ap);
|
||||||
if (ret != -1) {
|
if (ret != -1) {
|
||||||
switch_log_printf(SWITCH_CHANNEL_LOG_CLEAN, SWITCH_LOG_CONSOLE, "%s", data);
|
switch_log_printf(SWITCH_CHANNEL_LOG_CLEAN, SWITCH_LOG_CONSOLE, "%s", data);
|
||||||
free(data);
|
free(data);
|
||||||
|
|
Loading…
Reference in New Issue