From d915406c82ae1fb442790db15718923bf76b57f5 Mon Sep 17 00:00:00 2001 From: Bill Stoddard Date: Sun, 22 Oct 2000 15:48:34 +0000 Subject: [PATCH] Correct a check to see if we are attempting to remove a filter that has already been removed from the stack. Hummm, seems to me we should not attempt to remove filters multiple times.... git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@86705 13f79535-47bb-0310-9956-ffa450edef68 --- server/util_filter.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/util_filter.c b/server/util_filter.c index dcd7c06a29..c84e098171 100644 --- a/server/util_filter.c +++ b/server/util_filter.c @@ -172,10 +172,10 @@ AP_DECLARE(void) ap_remove_output_filter(ap_filter_t *f) } while (curr->next != f) { + curr = curr->next; if (curr == NULL) { return; } - curr = curr->next; } curr->next = f->next ? f->next : NULL; } -- 2.50.1