From: Jim Jagielski Date: Sun, 27 Nov 2011 18:02:33 +0000 (+0000) Subject: thx sf X-Git-Tag: 2.5.0-alpha~7801 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c88247529e07a85f8882cf402e8278ad3d3d1b9b;p=apache thx sf git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1206787 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; }