]> granicus.if.org Git - apache/commitdiff
* Once the comparsion is true we never return here since we break from the loop.
authorRuediger Pluem <rpluem@apache.org>
Thu, 25 Aug 2011 14:39:12 +0000 (14:39 +0000)
committerRuediger Pluem <rpluem@apache.org>
Thu, 25 Aug 2011 14:39:12 +0000 (14:39 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1161582 13f79535-47bb-0310-9956-ffa450edef68

modules/http/byterange_filter.c

index 80328c9eddd25364e9ba77acb27b7cf866513b6a..cc665e5efa041ef6b8053203b650037709066031 100644 (file)
@@ -176,7 +176,7 @@ static apr_status_t copy_brigade_range(apr_bucket_brigade *bb,
             first = e;
             off_first = pos;
         }
-        if (!last && (elen64 + pos > end64)) {
+        if (elen64 + pos > end64) {
             last = e;
             off_last = pos;
             break;