mirror of
https://github.com/apache/httpd.git
synced 2025-08-08 15:02:10 +03:00
Simplify by using apr_bucket_delete(e) where possible.
(Oh, plus one tiny little loop simplification.) git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88337 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -806,8 +806,7 @@ AP_CORE_DECLARE_NONSTD(apr_status_t) ap_sub_req_output_filter(ap_filter_t *f,
|
||||
apr_bucket *e = APR_BRIGADE_LAST(bb);
|
||||
|
||||
if (APR_BUCKET_IS_EOS(e)) {
|
||||
APR_BUCKET_REMOVE(e);
|
||||
apr_bucket_destroy(e);
|
||||
apr_bucket_delete(e);
|
||||
}
|
||||
ap_pass_brigade(f->next, bb);
|
||||
return APR_SUCCESS;
|
||||
|
Reference in New Issue
Block a user