From: Ruediger Pluem Date: Thu, 25 Aug 2011 14:39:12 +0000 (+0000) Subject: * Once the comparsion is true we never return here since we break from the loop. X-Git-Tag: 2.3.15~357 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=9a8aec1908a237126dc0043fed639bc2921ec688;p=thirdparty%2Fapache%2Fhttpd.git * Once the comparsion is true we never return here since we break from the loop. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1161582 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/http/byterange_filter.c b/modules/http/byterange_filter.c index 80328c9eddd..cc665e5efa0 100644 --- a/modules/http/byterange_filter.c +++ b/modules/http/byterange_filter.c @@ -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;