tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cos...@apache.org
Subject cvs commit: jakarta-tomcat/src/share/org/apache/tomcat/startup EmbededTomcat.java
Date Thu, 20 Sep 2001 03:44:06 GMT
costin      01/09/19 20:44:06

  Modified:    src/share/org/apache/tomcat/startup EmbededTomcat.java
  Log:
  Patch from Johannes Brodwall <johannes@brodwall.com>, hostname for embeded tomcat
use.
  
  Revision  Changes    Path
  1.56      +1 -1      jakarta-tomcat/src/share/org/apache/tomcat/startup/EmbededTomcat.java
  
  Index: EmbededTomcat.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat/src/share/org/apache/tomcat/startup/EmbededTomcat.java,v
  retrieving revision 1.55
  retrieving revision 1.56
  diff -u -r1.55 -r1.56
  --- EmbededTomcat.java	2001/09/09 21:57:32	1.55
  +++ EmbededTomcat.java	2001/09/20 03:44:06	1.56
  @@ -474,7 +474,7 @@
   
   	setModuleProperty( mid, "port", Integer.toString(port) );
   	if( addr != null )
  -	    setModuleProperty( mid, "address", addr.toString());
  +	    setModuleProperty( mid, "address", addr.getHostAddress());
   	if( hostname != null )
   	    setModuleProperty( mid, "hostName",  hostname );
   	return mid;
  
  
  

Mime
View raw message