httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rpl...@apache.org
Subject svn commit: r1161582 - /httpd/httpd/trunk/modules/http/byterange_filter.c
Date Thu, 25 Aug 2011 14:39:13 GMT
Author: rpluem
Date: Thu Aug 25 14:39:12 2011
New Revision: 1161582

URL: http://svn.apache.org/viewvc?rev=1161582&view=rev
Log:
* Once the comparsion is true we never return here since we break from the loop.

Modified:
    httpd/httpd/trunk/modules/http/byterange_filter.c

Modified: httpd/httpd/trunk/modules/http/byterange_filter.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/http/byterange_filter.c?rev=1161582&r1=1161581&r2=1161582&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/http/byterange_filter.c (original)
+++ httpd/httpd/trunk/modules/http/byterange_filter.c Thu Aug 25 14:39:12 2011
@@ -176,7 +176,7 @@ static apr_status_t copy_brigade_range(a
             first = e;
             off_first = pos;
         }
-        if (!last && (elen64 + pos > end64)) {
+        if (elen64 + pos > end64) {
             last = e;
             off_last = pos;
             break;



Mime
View raw message