From: Jim Jagielski Date: Sun, 27 Nov 2011 18:03:10 +0000 (+0000) Subject: Merge r1206787 from trunk: X-Git-Tag: 2.3.16~93 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=470ceee7299c63dc53c8a5bc6eb41820ef2d5389;p=apache Merge r1206787 from trunk: thx sf Reviewed/backported by: jim git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1206788 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/server/util_filter.c b/server/util_filter.c index 3facb8f904..7e204f2628 100644 --- a/server/util_filter.c +++ b/server/util_filter.c @@ -561,11 +561,7 @@ AP_DECLARE(apr_status_t) ap_pass_brigade_fchk(request_rec *r, va_start(ap, fmt); res = apr_pvsprintf(r->pool, fmt, ap); va_end(ap); - /* - * Why the NULL? - * handle: "error: format not a string literal and no format arguments" - */ - ap_log_rerror(APLOG_MARK, APLOG_DEBUG, rv, r, res, NULL); + ap_log_rerror(APLOG_MARK, APLOG_DEBUG, rv, r, "%s", res); } return HTTP_INTERNAL_SERVER_ERROR; }