Return-Path: Delivered-To: apmail-apache-cvs-archive@apache.org Received: (qmail 31296 invoked by uid 500); 22 Oct 2000 15:48:35 -0000 Mailing-List: contact apache-cvs-help@apache.org; run by ezmlm Precedence: bulk Reply-To: new-httpd@apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list apache-cvs@apache.org Received: (qmail 31285 invoked by uid 500); 22 Oct 2000 15:48:35 -0000 Delivered-To: apmail-apache-2.0-cvs@apache.org Date: 22 Oct 2000 15:48:34 -0000 Message-ID: <20001022154834.31281.qmail@locus.apache.org> From: stoddard@locus.apache.org To: apache-2.0-cvs@apache.org Subject: cvs commit: apache-2.0/src/main util_filter.c stoddard 00/10/22 08:48:34 Modified: src/main util_filter.c Log: 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.... Revision Changes Path 1.35 +1 -1 apache-2.0/src/main/util_filter.c Index: util_filter.c =================================================================== RCS file: /home/cvs/apache-2.0/src/main/util_filter.c,v retrieving revision 1.34 retrieving revision 1.35 diff -u -r1.34 -r1.35 --- util_filter.c 2000/10/21 17:22:28 1.34 +++ util_filter.c 2000/10/22 15:48:34 1.35 @@ -172,10 +172,10 @@ } while (curr->next != f) { + curr = curr->next; if (curr == NULL) { return; } - curr = curr->next; } curr->next = f->next ? f->next : NULL; }