diff options
author | Justin Erenkrantz <jerenkrantz@apache.org> | 2001-09-04 09:59:55 +0200 |
---|---|---|
committer | Justin Erenkrantz <jerenkrantz@apache.org> | 2001-09-04 09:59:55 +0200 |
commit | 4db33d47fd3e76b8b3dfde81837062b69205f07d (patch) | |
tree | e4e9f24c04195c922c9f28ab88e13ab80ba65f6a /modules/experimental/mod_disk_cache.c | |
parent | **NO CODE CHANGES** (diff) | |
download | apache2-4db33d47fd3e76b8b3dfde81837062b69205f07d.tar.xz apache2-4db33d47fd3e76b8b3dfde81837062b69205f07d.zip |
Fix breakage from Brian Pane's util_filter switch to hash tables.
There were some places that were expecting what you put into frec
would be what frec->name would be. Not true anymore.
There are enough other places that were already doing the strcasecmp
that it makes more sense to just make it all strcasecmp across the
board rather than changing the UPPERCASE to lowercase.
(None of these with the exception of old_filter look to be in the
critical path anyway...)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@90890 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'modules/experimental/mod_disk_cache.c')
-rw-r--r-- | modules/experimental/mod_disk_cache.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/experimental/mod_disk_cache.c b/modules/experimental/mod_disk_cache.c index b2d54bcb61..38bf561b12 100644 --- a/modules/experimental/mod_disk_cache.c +++ b/modules/experimental/mod_disk_cache.c @@ -94,7 +94,7 @@ static int disk_serve(request_rec *r) * again. */ for ((f = r->output_filters); (f = f->next);) { - if (!strcmp(f->frec->name, "CACHE")) { + if (!strcasecmp(f->frec->name, "CACHE")) { ap_remove_output_filter(f); } } |