--- projects/cms/source/server/uk/org/iscream/cms/server/filtermanager/HostInit.java 2001/02/28 10:36:05 1.19 +++ projects/cms/source/server/uk/org/iscream/cms/server/filtermanager/HostInit.java 2001/02/28 10:37:46 1.20 @@ -15,7 +15,7 @@ import java.io.*; * and a reference to a Filter to which it should pass data. * * @author $Author: tdb $ - * @version $Id: HostInit.java,v 1.19 2001/02/28 10:36:05 tdb Exp $ + * @version $Id: HostInit.java,v 1.20 2001/02/28 10:37:46 tdb Exp $ */ class HostInit extends Thread { @@ -24,7 +24,7 @@ class HostInit extends Thread { /** * The current CVS revision of this class */ - public final String REVISION = "$Revision: 1.19 $"; + public final String REVISION = "$Revision: 1.20 $"; //---STATIC METHODS--- @@ -96,14 +96,8 @@ class HostInit extends Thread { throw new IOException("protocol error - expected:FQDN got:" + inBound); } else { - try { - // try to send the fqdn to the host - _socketOut.println(_socket.getInetAddress().getHostName()); - } - catch(UnknownHostException e) { - // we failed for some reason - _socketOut.println("ERROR"); - } + // send the fqdn (of the host) to the host + _socketOut.println(_socket.getInetAddress().getHostName()); } // get properties