1
0
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:
Cliff Woolley
2001-02-25 23:08:52 +00:00
parent d3fdebba53
commit 93fe62dd77
5 changed files with 22 additions and 46 deletions

View File

@@ -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;