summaryrefslogtreecommitdiffstats
path: root/modules
diff options
context:
space:
mode:
authorRyan Bloom <rbb@apache.org>2001-02-06 05:13:45 +0100
committerRyan Bloom <rbb@apache.org>2001-02-06 05:13:45 +0100
commitf11cd9f01974f61ee372600de909bff2d11642ae (patch)
tree46a0758be9e3e75c099826db94adc6a98605e4fa /modules
parentMove the logic for creating CGI processes from mod_include to mod_cgi(d). (diff)
downloadapache2-f11cd9f01974f61ee372600de909bff2d11642ae.tar.xz
apache2-f11cd9f01974f61ee372600de909bff2d11642ae.zip
If we are in the middle of a brigade loop, we don't want to always check
the first bucket in the brigade. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87986 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'modules')
-rw-r--r--modules/http/http_protocol.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/http/http_protocol.c b/modules/http/http_protocol.c
index 5206e67ddc..9cfdb56fae 100644
--- a/modules/http/http_protocol.c
+++ b/modules/http/http_protocol.c
@@ -2483,7 +2483,7 @@ AP_CORE_DECLARE_NONSTD(apr_status_t) ap_http_header_filter(ap_filter_t *f, apr_b
}
APR_BRIGADE_FOREACH(e, b) {
- if (APR_BRIGADE_FIRST(b)->type == &ap_bucket_type_error) {
+ if (e->type == &ap_bucket_type_error) {
ap_bucket_error *eb = e->data;
ap_die(eb->status, r);