httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r..@locus.apache.org
Subject cvs commit: apache-2.0/src/modules/standard mod_mime.c
Date Mon, 09 Oct 2000 03:05:39 GMT
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 <sander@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);
       }
   
   
  
  
  

Mime
View raw message