diff options
author | Ryan Bloom <rbb@apache.org> | 2002-03-05 06:21:13 +0100 |
---|---|---|
committer | Ryan Bloom <rbb@apache.org> | 2002-03-05 06:21:13 +0100 |
commit | 2f43d87c489c87a9a82f7abd383e03e596ebd412 (patch) | |
tree | 0e358de3cb952e541474ce1139b50794ab105a5a | |
parent | mod_dir xml conversion. (diff) | |
download | apache2-2f43d87c489c87a9a82f7abd383e03e596ebd412.tar.xz apache2-2f43d87c489c87a9a82f7abd383e03e596ebd412.zip |
Stop the loop when we have found the correct filter, or when the filter
list is over. Do not stop if the next filter is NULL.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@93708 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r-- | server/util_filter.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/util_filter.c b/server/util_filter.c index c1488e64d5..6f82c18674 100644 --- a/server/util_filter.c +++ b/server/util_filter.c @@ -344,7 +344,7 @@ static ap_filter_t *add_any_filter_handle(ap_filter_rec_t *frec, void *ctx, */ if (*r_filters != *c_filters) { first = *r_filters; - while (first && first->next && (first->next != (*outf))) { + while (first && (first->next != (*outf))) { first = first->next; } } |