httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s.@apache.org
Subject svn commit: r954643 - /httpd/httpd/trunk/server/core_filters.c
Date Mon, 14 Jun 2010 21:00:07 GMT
Author: sf
Date: Mon Jun 14 21:00:06 2010
New Revision: 954643

URL: http://svn.apache.org/viewvc?rev=954643&view=rev
Log:
correct stupid mistake

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

Modified: httpd/httpd/trunk/server/core_filters.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/server/core_filters.c?rev=954643&r1=954642&r2=954643&view=diff
==============================================================================
--- httpd/httpd/trunk/server/core_filters.c (original)
+++ httpd/httpd/trunk/server/core_filters.c Mon Jun 14 21:00:06 2010
@@ -468,7 +468,7 @@ apr_status_t ap_core_output_filter(ap_fi
             non_file_bytes_in_brigade = 0;
         }
         else if (!APR_BUCKET_IS_METADATA(bucket)) {
-            if (bucket->length != (apr_size_t)-1) {
+            if (bucket->length == (apr_size_t)-1) {
                 const char *data;
                 apr_size_t length;
                 /* XXX support nonblocking read here? */



Mime
View raw message