]> granicus.if.org Git - apache/commitdiff
thx sf
authorJim Jagielski <jim@apache.org>
Sun, 27 Nov 2011 18:02:33 +0000 (18:02 +0000)
committerJim Jagielski <jim@apache.org>
Sun, 27 Nov 2011 18:02:33 +0000 (18:02 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1206787 13f79535-47bb-0310-9956-ffa450edef68

server/util_filter.c

index 3facb8f904e2d51f042d7653d2632ffc9fd70623..7e204f2628d0f9c17231c2e8e597f2bd6f8267c7 100644 (file)
@@ -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;
         }