]> granicus.if.org Git - apache/commitdiff
Merge r1206159 from trunk:
authorJim Jagielski <jim@apache.org>
Fri, 25 Nov 2011 13:31:47 +0000 (13:31 +0000)
committerJim Jagielski <jim@apache.org>
Fri, 25 Nov 2011 13:31:47 +0000 (13:31 +0000)
Comment reason for NULL parameter
Reviewed/backported by: jim

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1206160 13f79535-47bb-0310-9956-ffa450edef68

server/util_filter.c

index 74dfefba1035dfc45b622d7b32938d2f11a0eceb..3facb8f904e2d51f042d7653d2632ffc9fd70623 100644 (file)
@@ -561,6 +561,10 @@ 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);
             }
             return HTTP_INTERNAL_SERVER_ERROR;