summaryrefslogtreecommitdiffstats
path: root/server/util_xml.c
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 /server/util_xml.c
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 'server/util_xml.c')
-rw-r--r--server/util_xml.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/server/util_xml.c b/server/util_xml.c
index 03f6df042d..0188a0980a 100644
--- a/server/util_xml.c
+++ b/server/util_xml.c
@@ -94,7 +94,10 @@ AP_DECLARE(int) ap_xml_parse_input(request_rec * r, apr_xml_doc **pdoc)
goto read_error;
}
- APR_BRIGADE_FOREACH(bucket, brigade) {
+ for (bucket = APR_BRIGADE_FIRST(brigade);
+ bucket != APR_BRIGADE_SENTINEL(brigade);
+ bucket = APR_BUCKET_NEXT(bucket))
+ {
const char *data;
apr_size_t len;