From: Arran Cudbard-Bell Date: Tue, 28 Nov 2017 22:16:00 +0000 (+0000) Subject: Enable custom format specifiers in radlog_request_perror X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=60b50150f10d3dffd2525ed2ea99dec1f82c6bcf;p=thirdparty%2Ffreeradius-server.git Enable custom format specifiers in radlog_request_perror --- diff --git a/src/main/log.c b/src/main/log.c index 394f5079172..a794e79d00a 100644 --- a/src/main/log.c +++ b/src/main/log.c @@ -549,7 +549,7 @@ void radlog_request_perror(fr_log_type_t type, fr_log_lvl_t lvl, REQUEST *reques char *tmp; va_start(ap, msg); - tmp = talloc_vasprintf(request, msg, ap); + tmp = fr_vasprintf(request, msg, ap); va_end(ap); if (!tmp) return;