From: Jim Jagielski Date: Fri, 6 Jan 2006 01:06:36 +0000 (+0000) Subject: Trivial backport of r366374 - Use AP_BUCKET_IS_ERROR macro X-Git-Tag: 2.2.1~165 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=da919f7e28872163796480fef9181321287a378e;p=thirdparty%2Fapache%2Fhttpd.git Trivial backport of r366374 - Use AP_BUCKET_IS_ERROR macro git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.2.x@366378 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/http/http_filters.c b/modules/http/http_filters.c index 21cd11fd7af..b032866152d 100644 --- a/modules/http/http_filters.c +++ b/modules/http/http_filters.c @@ -895,7 +895,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);