You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by rb...@locus.apache.org on 2000/10/09 05:05:39 UTC
cvs commit: apache-2.0/src/modules/standard mod_mime.c
rbb 00/10/08 20:05:38
Modified: src/modules/standard mod_mime.c
Log:
Port the fix for Remove Handler from 1.3 to 2.0
Submitted by: Sander van Zoest <sa...@covalent.net>
Reviewed by: Ryan Bloom
Revision Changes Path
1.27 +3 -3 apache-2.0/src/modules/standard/mod_mime.c
Index: mod_mime.c
===================================================================
RCS file: /home/cvs/apache-2.0/src/modules/standard/mod_mime.c,v
retrieving revision 1.26
retrieving revision 1.27
diff -u -r1.26 -r1.27
--- mod_mime.c 2000/09/18 12:17:29 1.26
+++ mod_mime.c 2000/10/09 03:05:38 1.27
@@ -176,17 +176,17 @@
suffix = (attrib_info *) add->handlers_remove->elts;
for (i = 0; i < add->handlers_remove->nelts; i++) {
- apr_table_unset(base->handlers, suffix[i].name);
+ apr_table_unset(new->handlers, suffix[i].name);
}
suffix = (attrib_info *) add->types_remove->elts;
for (i = 0; i < add->types_remove->nelts; i++) {
- apr_table_unset(base->forced_types, suffix[i].name);
+ apr_table_unset(new->forced_types, suffix[i].name);
}
suffix = (attrib_info *) add->encodings_remove->elts;
for (i = 0; i < add->encodings_remove->nelts; i++) {
- apr_table_unset(base->encoding_types, suffix[i].name);
+ apr_table_unset(new->encoding_types, suffix[i].name);
}