]> granicus.if.org Git - apache/commitdiff
As long as we have the AP_BUCKET_IS_ERROR macro, let's use it
authorJim Jagielski <jim@apache.org>
Fri, 6 Jan 2006 01:02:19 +0000 (01:02 +0000)
committerJim Jagielski <jim@apache.org>
Fri, 6 Jan 2006 01:02:19 +0000 (01:02 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@366374 13f79535-47bb-0310-9956-ffa450edef68

modules/http/http_filters.c

index a9dfade6b97e349e9f08b96981570d9666921a60..0d08b17cb040d2f3d5a65ad70cfb4ea21a1a180c 100644 (file)
@@ -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);