summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Fritsch <sf@apache.org>2011-08-29 15:49:56 +0000
committerStefan Fritsch <sf@apache.org>2011-08-29 15:49:56 +0000
commit0d91fd2826015ffbbacf470d90f0735d19052a86 (patch)
tree4dfe2a1de40e929ac06830f731263e8e479b5f79
parent33dc927198f1329244e920009305eb960ead97f4 (diff)
downloadhttpd-0d91fd2826015ffbbacf470d90f0735d19052a86.tar.gz
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
-rw-r--r--modules/http/byterange_filter.c7
1 files changed, 1 insertions, 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);