From 0d91fd2826015ffbbacf470d90f0735d19052a86 Mon Sep 17 00:00:00 2001 From: Stefan Fritsch Date: Mon, 29 Aug 2011 15:49:56 +0000 Subject: [PATCH] Remove some unused code that was included in r1162131 by accident or merge error. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1162878 13f79535-47bb-0310-9956-ffa450edef68 --- modules/http/byterange_filter.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/modules/http/byterange_filter.c b/modules/http/byterange_filter.c index 9a16376ecc..70fa1fe29a 100644 --- a/modules/http/byterange_filter.c +++ b/modules/http/byterange_filter.c @@ -159,12 +159,7 @@ static apr_status_t copy_brigade_range(apr_bucket_brigade *bb, * the correct bucket for splitting. */ while (start64 - off_first > (apr_uint64_t)copy->length) { - apr_bucket *tmp; - int i = 0; - if (i++ >= 99999) - return APR_EINVAL; - - tmp = APR_BUCKET_NEXT(copy); + apr_bucket *tmp = APR_BUCKET_NEXT(copy); off_first += (apr_uint64_t)copy->length; APR_BUCKET_REMOVE(copy); apr_bucket_destroy(copy); -- 2.40.0