tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mt...@apache.org
Subject cvs commit: jakarta-tomcat-connectors/jk/native/apache-1.3 mod_jk.c
Date Sat, 30 Apr 2005 06:02:49 GMT
mturk       2005/04/29 23:02:49

  Modified:    jk/native/apache-1.3 mod_jk.c
  Log:
  Assure singleton call to log_close.
  
  Revision  Changes    Path
  1.79      +3 -2      jakarta-tomcat-connectors/jk/native/apache-1.3/mod_jk.c
  
  Index: mod_jk.c
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-connectors/jk/native/apache-1.3/mod_jk.c,v
  retrieving revision 1.78
  retrieving revision 1.79
  diff -u -r1.78 -r1.79
  --- mod_jk.c	28 Apr 2005 11:28:45 -0000	1.78
  +++ mod_jk.c	30 Apr 2005 06:02:49 -0000	1.79
  @@ -2270,7 +2270,7 @@
               (jk_server_conf_t *) ap_get_module_config(tmp->module_config,
                                                         &jk_module);
   
  -        if (NULL != conf) {
  +        if (conf) {
               wc_close(conf->log);
               uri_worker_map_free(&(conf->uw_map), conf->log);
               jk_map_free(&(conf->uri_to_context));
  @@ -2278,6 +2278,7 @@
               jk_map_free(&(conf->automount));
               if (conf->log)
                   jk_close_file_logger(&(conf->log));
  +            conf->log = NULL;
           }
           tmp = tmp->next;
       }
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org


Mime
View raw message