Commit 7a7839ae authored by Joe Orton's avatar Joe Orton
Browse files

* modules/http/byterange_filter.c (ap_byterange_filter): No functional

changes: reflow/reformat after r188797.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@189559 13f79535-47bb-0310-9956-ffa450edef68
parent bef7e2db
Loading
Loading
Loading
Loading
+2 −3
Changes for modules/http/byterange_filter.c: 2 added lines, 3 removed lines.
Original line number Diff line number Diff line
@@ -149,6 +149,7 @@ AP_CORE_DECLARE_NONSTD(apr_status_t) ap_byterange_filter(ap_filter_t *f,
    apr_off_t clength = 0;
    apr_status_t rv;
    int found = 0;
    int num_ranges;

    /* Iterate through the brigade until reaching EOS or a bucket with
     * unknown length. */
@@ -168,8 +169,7 @@ AP_CORE_DECLARE_NONSTD(apr_status_t) ap_byterange_filter(ap_filter_t *f,
        return ap_pass_brigade(f->next, bb);
    }

    {
        int num_ranges = ap_set_byterange(r);
    num_ranges = ap_set_byterange(r);
    
    /* We have nothing to do, get out of the way. */
    if (num_ranges == 0) {
@@ -201,7 +201,6 @@ AP_CORE_DECLARE_NONSTD(apr_status_t) ap_byterange_filter(ap_filter_t *f,
                                      NULL);
        ap_xlate_proto_to_ascii(ctx->bound_head, strlen(ctx->bound_head));
    }
    }

    /* this brigade holds what we will be sending */
    bsend = apr_brigade_create(r->pool, c->bucket_alloc);