You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by rp...@apache.org on 2011/08/25 16:39:13 UTC

svn commit: r1161582 - /httpd/httpd/trunk/modules/http/byterange_filter.c

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;