Return-Path: Delivered-To: apmail-httpd-cvs-archive@www.apache.org Received: (qmail 77828 invoked from network); 6 Jan 2006 01:02:45 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 6 Jan 2006 01:02:45 -0000 Received: (qmail 10815 invoked by uid 500); 6 Jan 2006 01:02:44 -0000 Delivered-To: apmail-httpd-cvs-archive@httpd.apache.org Received: (qmail 10597 invoked by uid 500); 6 Jan 2006 01:02:43 -0000 Mailing-List: contact cvs-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: dev@httpd.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list cvs@httpd.apache.org Received: (qmail 10585 invoked by uid 99); 6 Jan 2006 01:02:43 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 05 Jan 2006 17:02:43 -0800 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [209.237.227.194] (HELO minotaur.apache.org) (209.237.227.194) by apache.org (qpsmtpd/0.29) with SMTP; Thu, 05 Jan 2006 17:02:42 -0800 Received: (qmail 77682 invoked by uid 65534); 6 Jan 2006 01:02:22 -0000 Message-ID: <20060106010222.77681.qmail@minotaur.apache.org> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r366374 - /httpd/httpd/trunk/modules/http/http_filters.c Date: Fri, 06 Jan 2006 01:02:21 -0000 To: cvs@httpd.apache.org From: jim@apache.org X-Mailer: svnmailer-1.0.5 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Author: jim Date: Thu Jan 5 17:02:19 2006 New Revision: 366374 URL: http://svn.apache.org/viewcvs?rev=366374&view=rev Log: As long as we have the AP_BUCKET_IS_ERROR macro, let's use it Modified: httpd/httpd/trunk/modules/http/http_filters.c Modified: httpd/httpd/trunk/modules/http/http_filters.c URL: http://svn.apache.org/viewcvs/httpd/httpd/trunk/modules/http/http_filters.c?rev=366374&r1=366373&r2=366374&view=diff ============================================================================== --- httpd/httpd/trunk/modules/http/http_filters.c (original) +++ httpd/httpd/trunk/modules/http/http_filters.c Thu Jan 5 17:02:19 2006 @@ -907,7 +907,7 @@ 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);