You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by ji...@apache.org on 2011/11/25 14:31:47 UTC

svn commit: r1206160 - /httpd/httpd/branches/2.4.x/server/util_filter.c

Author: jim
Date: Fri Nov 25 13:31:47 2011
New Revision: 1206160

URL: http://svn.apache.org/viewvc?rev=1206160&view=rev
Log:
Merge r1206159 from trunk:

Comment reason for NULL parameter
Reviewed/backported by: jim

Modified:
    httpd/httpd/branches/2.4.x/server/util_filter.c

Modified: httpd/httpd/branches/2.4.x/server/util_filter.c
URL: http://svn.apache.org/viewvc/httpd/httpd/branches/2.4.x/server/util_filter.c?rev=1206160&r1=1206159&r2=1206160&view=diff
==============================================================================
--- httpd/httpd/branches/2.4.x/server/util_filter.c (original)
+++ httpd/httpd/branches/2.4.x/server/util_filter.c Fri Nov 25 13:31:47 2011
@@ -561,6 +561,10 @@ 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);
             }
             return HTTP_INTERNAL_SERVER_ERROR;