You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by sf...@apache.org on 2010/06/14 23:00:07 UTC

svn commit: r954643 - /httpd/httpd/trunk/server/core_filters.c

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? */