]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
Trivial backport of r366374 - Use AP_BUCKET_IS_ERROR macro
authorJim Jagielski <jim@apache.org>
Fri, 6 Jan 2006 01:06:36 +0000 (01:06 +0000)
committerJim Jagielski <jim@apache.org>
Fri, 6 Jan 2006 01:06:36 +0000 (01:06 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.2.x@366378 13f79535-47bb-0310-9956-ffa450edef68

modules/http/http_filters.c

index 21cd11fd7af520a384cf0832ff4f084ac0ffdffe..b032866152df47d3d909a545c47c7e1fdb156869 100644 (file)
@@ -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);