httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j..@apache.org
Subject svn commit: r1206787 - /httpd/httpd/trunk/server/util_filter.c
Date Sun, 27 Nov 2011 18:02:34 GMT
Author: jim
Date: Sun Nov 27 18:02:33 2011
New Revision: 1206787

URL: http://svn.apache.org/viewvc?rev=1206787&view=rev
Log:
thx sf

Modified:
    httpd/httpd/trunk/server/util_filter.c

Modified: httpd/httpd/trunk/server/util_filter.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/server/util_filter.c?rev=1206787&r1=1206786&r2=1206787&view=diff
==============================================================================
--- httpd/httpd/trunk/server/util_filter.c (original)
+++ httpd/httpd/trunk/server/util_filter.c Sun Nov 27 18:02:33 2011
@@ -561,11 +561,7 @@ AP_DECLARE(apr_status_t) ap_pass_brigade
                 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;
         }



Mime
View raw message