httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j..@apache.org
Subject svn commit: r366378 - /httpd/httpd/branches/2.2.x/modules/http/http_filters.c
Date Fri, 06 Jan 2006 01:06:38 GMT
Author: jim
Date: Thu Jan  5 17:06:36 2006
New Revision: 366378

URL: http://svn.apache.org/viewcvs?rev=366378&view=rev
Log:
Trivial backport of r366374 - Use AP_BUCKET_IS_ERROR macro

Modified:
    httpd/httpd/branches/2.2.x/modules/http/http_filters.c

Modified: httpd/httpd/branches/2.2.x/modules/http/http_filters.c
URL: http://svn.apache.org/viewcvs/httpd/httpd/branches/2.2.x/modules/http/http_filters.c?rev=366378&r1=366377&r2=366378&view=diff
==============================================================================
--- httpd/httpd/branches/2.2.x/modules/http/http_filters.c (original)
+++ httpd/httpd/branches/2.2.x/modules/http/http_filters.c Thu Jan  5 17:06:36 2006
@@ -895,7 +895,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);



Mime
View raw message