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 /server/protocol.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 'server/protocol.c')
-rw-r--r-- | server/protocol.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/protocol.c b/server/protocol.c index 0762861002..80fa2ee191 100644 --- a/server/protocol.c +++ b/server/protocol.c @@ -1064,7 +1064,7 @@ static apr_status_t buffer_output(request_rec *r, /* this will typically exit on the first test */ for (f = r->output_filters; f != NULL; f = f->next) - if (strcmp("OLD_WRITE", f->frec->name) == 0) + if (strcasecmp("OLD_WRITE", f->frec->name) == 0) break; if (f == NULL) { /* our filter hasn't been added yet */ |