]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
this shouldn't have gone in yet. there is still pending discussion.
authorGreg Stein <gstein@apache.org>
Thu, 17 Aug 2000 01:10:07 +0000 (01:10 +0000)
committerGreg Stein <gstein@apache.org>
Thu, 17 Aug 2000 01:10:07 +0000 (01:10 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@86091 13f79535-47bb-0310-9956-ffa450edef68

include/util_filter.h
server/util_filter.c

index 00f7609903ba7eb073fa03c821aba211620f90a8..ad6e57683609214a2f950179ce3853d6214d04ce 100644 (file)
@@ -258,8 +258,8 @@ API_EXPORT(void) ap_register_filter(const char *name,
  * list of filters.  Take note of that when adding your filter to the chain.
  */
 /**
- * Add a filter to the current request.  Filters are added in a LIFO manner.
- * The first filter added will be the last filter called.
+ * Add a filter to the current request.  Filters are added in a FIFO manner.
+ * The first filter added will be the first filter called.
  * @param name The name of the filter to add
  * @param ctx Any filter specific data to associate with the filter
  * @param r The request to add this filter for.
index ffc112ccb1b81c83df30361decbbd8676ff2ae25..328fe036efbec38c6740b494c8828079b382345c 100644 (file)
@@ -91,7 +91,7 @@ static ap_filter_rec_t *registered_filters = NULL;
 ** corresponds to a different request.
 */
 #define INSERT_BEFORE(f, before_this) ((before_this) == NULL \
-                                       || (before_this)->ftype >= (f)->ftype \
+                                       || (before_this)->ftype > (f)->ftype \
                                        || (before_this)->r != (f)->r)