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_include.c
Date Wed, 13 Sep 2000 19:10:36 GMT
rbb         00/09/13 12:10:35

  Modified:    src/modules/standard mod_include.c
  Log:
  Fix a stupid typo.  I wanted to register the filter, but I didn't want to
  add it.  I accidentally deleted the wrong line before I committed last
  night.
  
  Revision  Changes    Path
  1.54      +1 -6      apache-2.0/src/modules/standard/mod_include.c
  
  Index: mod_include.c
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/modules/standard/mod_include.c,v
  retrieving revision 1.53
  retrieving revision 1.54
  diff -u -r1.53 -r1.54
  --- mod_include.c	2000/09/13 02:07:40	1.53
  +++ mod_include.c	2000/09/13 19:10:33	1.54
  @@ -2530,14 +2530,9 @@
       {NULL}
   };
   
  -static void includes_register_filter(request_rec *r)
  -{
  -    ap_add_filter("INCLUDES", NULL, r);
  -}
  -
   static void register_hooks(void)
   {
  -    ap_hook_insert_filter(includes_register_filter, NULL, NULL, AP_HOOK_MIDDLE);
  +    ap_register_filter("INCLUDES", includes_filter, AP_FTYPE_CONTENT);
   }
   
   module MODULE_VAR_EXPORT includes_module =
  
  
  

Mime
View raw message