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 15:14:02 UTC

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

Author: rpluem
Date: Thu Aug 25 13:14:02 2011
New Revision: 1161552

URL: http://svn.apache.org/viewvc?rev=1161552&view=rev
Log:
* Remove duplicate condition

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=1161552&r1=1161551&r2=1161552&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/http/byterange_filter.c (original)
+++ httpd/httpd/trunk/modules/http/byterange_filter.c Thu Aug 25 13:14:02 2011
@@ -170,11 +170,11 @@ static apr_status_t copy_brigade_range(a
     {
         /* we know that no bucket has undefined length (-1) */
         AP_DEBUG_ASSERT(e->length != (apr_size_t)(-1));
-        if (!first && ((apr_uint64_t)e->length > start64 || (apr_uint64_t)e->length + pos > start64)) {
+        if (!first && ((apr_uint64_t)e->length + pos > start64)) {
             first = e;
             off_first = pos;
         }
-        if (!last && ((apr_uint64_t)e->length >= end64 || (apr_uint64_t)e->length + pos >= end64)) {
+        if (!last && ((apr_uint64_t)e->length + pos >= end64)) {
             last = e;
             off_last = pos;
             break;