From c5de4ae2914d96db02f8a381130628aa0fcf3e42 Mon Sep 17 00:00:00 2001 From: Jim Jagielski Date: Fri, 6 Jan 2006 01:02:19 +0000 Subject: [PATCH] As long as we have the AP_BUCKET_IS_ERROR macro, let's use it git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@366374 13f79535-47bb-0310-9956-ffa450edef68 --- modules/http/http_filters.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/http/http_filters.c b/modules/http/http_filters.c index a9dfade6b9..0d08b17cb0 100644 --- a/modules/http/http_filters.c +++ b/modules/http/http_filters.c @@ -907,7 +907,7 @@ AP_CORE_DECLARE_NONSTD(apr_status_t) ap_http_header_filter(ap_filter_t *f, e != APR_BRIGADE_SENTINEL(b); e = APR_BUCKET_NEXT(e)) { - if (e->type == &ap_bucket_type_error) { + if (AP_BUCKET_IS_ERROR(e)) { ap_bucket_error *eb = e->data; ap_die(eb->status, r); -- 2.40.0