tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gl...@apache.org
Subject cvs commit: jakarta-tomcat-connectors/jk/native/apache-2.0 mod_jk.c
Date Wed, 02 Apr 2003 22:48:02 GMT
glenn       2003/04/02 14:48:02

  Modified:    jk/native/apache-2.0 mod_jk.c
  Log:
  Fix possible seg fault when LogLevel is debug
  
  Revision  Changes    Path
  1.69      +5 -5      jakarta-tomcat-connectors/jk/native/apache-2.0/mod_jk.c
  
  Index: mod_jk.c
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-connectors/jk/native/apache-2.0/mod_jk.c,v
  retrieving revision 1.68
  retrieving revision 1.69
  diff -u -r1.68 -r1.69
  --- mod_jk.c	16 Mar 2003 02:59:44 -0000	1.68
  +++ mod_jk.c	2 Apr 2003 22:48:01 -0000	1.69
  @@ -496,10 +496,10 @@
   
       jk_log(conf->log, JK_LOG_DEBUG, 
              "agsp=%u agsn=%s hostn=%s shostn=%s cbsport=%d sport=%d \n",
  -           ap_get_server_port( r ),
  -           ap_get_server_name( r ),
  -           r->hostname,
  -           r->server->server_hostname,
  +           ap_get_server_port(r),
  +           ap_get_server_name(r) != NULL ? ap_get_server_name(r) : "",
  +           r->hostname != NULL ? r->hostname : "",
  +           r->server->server_hostname != NULL ? r->server->server_hostname
: "",
              r->connection->base_server->port,
              r->server->port
              );
  
  
  

---------------------------------------------------------------------
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