httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From c...@hyperreal.org
Subject cvs commit: apache-1.3/src/modules/standard mod_speling.c
Date Sat, 19 Sep 1998 12:16:39 GMT
coar        98/09/19 05:16:39

  Modified:    src/modules/standard mod_speling.c
  Log:
  	When CheckSpelling was made .htaccess-ible, I forgot to correctly
  	update the checking of the directive setting in the actual spellcheck
  	code.
  
  Submitted by:	Ryan Bloom <RBBloom@US.IBM.Com>
  
  Revision  Changes    Path
  1.26      +3 -2      apache-1.3/src/modules/standard/mod_speling.c
  
  Index: mod_speling.c
  ===================================================================
  RCS file: /export/home/cvs/apache-1.3/src/modules/standard/mod_speling.c,v
  retrieving revision 1.25
  retrieving revision 1.26
  diff -u -r1.25 -r1.26
  --- mod_speling.c	1998/09/04 20:45:41	1.25
  +++ mod_speling.c	1998/09/19 12:16:38	1.26
  @@ -226,14 +226,15 @@
   
   static int check_speling(request_rec *r)
   {
  -    void *server_conf = r->server->module_config;
  +    spconfig *cfg;
       char *good, *bad, *postgood, *url;
       int filoc, dotloc, urlen, pglen;
       DIR *dirp;
       struct DIR_TYPE *dir_entry;
       array_header *candidates = NULL;
   
  -    if (!ap_get_module_config(server_conf, &speling_module)) {
  +    cfg = ap_get_module_config(r->per_dir_config, &speling_module);
  +    if (!cfg->enabled) {
           return DECLINED;
       }
   
  
  
  

Mime
View raw message