httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jaillet...@apache.org
Subject svn commit: r1725456 - /httpd/httpd/trunk/server/util_filter.c
Date Tue, 19 Jan 2016 09:55:26 GMT
Author: jailletc36
Date: Tue Jan 19 09:55:25 2016
New Revision: 1725456

URL: http://svn.apache.org/viewvc?rev=1725456&view=rev
Log:
Fix a typo when building a TRACE8 message.

'flush_upto' can never be NULL (or there would be a NULL pointer deference earlier in the
code), so the alternate message can never trigger.

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=1725456&r1=1725455&r2=1725456&view=diff
==============================================================================
--- httpd/httpd/trunk/server/util_filter.c (original)
+++ httpd/httpd/trunk/server/util_filter.c Tue Jan 19 09:55:25 2016
@@ -871,8 +871,8 @@ AP_DECLARE(apr_status_t) ap_filter_reins
                               "seen in brigade%s: bytes: %" APR_SIZE_T_FMT
                               ", non-file bytes: %" APR_SIZE_T_FMT ", eor "
                               "buckets: %d, morphing buckets: %d",
-                              flush_upto == NULL ? " so far"
-                                                 : " since last flush point",
+                              *flush_upto == NULL ? " so far"
+                                                  : " since last flush point",
                               bytes_in_brigade,
                               non_file_bytes_in_brigade,
                               eor_buckets_in_brigade,



Mime
View raw message