summaryrefslogtreecommitdiffstats
path: root/modules/test
diff options
context:
space:
mode:
authorCliff Woolley <jwoolley@apache.org>2003-11-16 03:09:14 +0100
committerCliff Woolley <jwoolley@apache.org>2003-11-16 03:09:14 +0100
commitaaf0424e2b4336bbb15cee3712091b90c4fbf1ae (patch)
treecafa2dc7186b3fbad6cb6326a69d9c9965c4d8d8 /modules/test
parentstop using deprecated apr_atomic functions (diff)
downloadapache2-aaf0424e2b4336bbb15cee3712091b90c4fbf1ae.tar.xz
apache2-aaf0424e2b4336bbb15cee3712091b90c4fbf1ae.zip
get rid of _FOREACH
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@101788 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'modules/test')
-rw-r--r--modules/test/mod_bucketeer.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/modules/test/mod_bucketeer.c b/modules/test/mod_bucketeer.c
index 198a2cf683..f63b04cdb0 100644
--- a/modules/test/mod_bucketeer.c
+++ b/modules/test/mod_bucketeer.c
@@ -119,7 +119,10 @@ static apr_status_t bucketeer_out_filter(ap_filter_t *f,
apr_table_unset(f->r->headers_out, "Content-Length");
}
- APR_BRIGADE_FOREACH(e, bb) {
+ for (e = APR_BRIGADE_FIRST(bb);
+ e != APR_BRIGADE_SENTINEL(bb);
+ e = APR_BUCKET_NEXT(e))
+ {
const char *data;
apr_size_t len, i, lastpos;