Commit d52c6998 authored by Stefan Fritsch's avatar Stefan Fritsch
Browse files

fix new breakage introduced by r1161767


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1161778 13f79535-47bb-0310-9956-ffa450edef68
parent a11b1463
Loading
Loading
Loading
Loading
+1 −4
Changes for modules/http/byterange_filter.c: 1 added line, 4 removed lines.
Original line number Diff line number Diff line
@@ -195,8 +195,8 @@ static apr_status_t copy_brigade_range(apr_bucket_brigade *bb,
            return rv;
        }

        if (e == first) {
        APR_BRIGADE_INSERT_TAIL(bbout, copy);
        if (e == first) {
            if (off_first != start64) {
                rv = apr_bucket_split(copy, (apr_size_t)(start64 - off_first));
                if (rv == APR_ENOTIMPL) {
@@ -252,9 +252,6 @@ static apr_status_t copy_brigade_range(apr_bucket_brigade *bb,
                off_last += start64 - off_first;
                copy = out_first;
            }
            else {
                APR_BRIGADE_INSERT_TAIL(bbout, copy);
            }
            if (end64 - off_last != (apr_uint64_t)e->length) {
                rv = apr_bucket_split(copy, (apr_size_t)(end64 + 1 - off_last));
                if (rv == APR_ENOTIMPL) {