Don’t assume every client is already connected.
authorDavid ‘Bombe’ Roden <bombe@freenetproject.org>
Fri, 19 Mar 2010 07:59:05 +0000 (08:59 +0100)
committerDavid ‘Bombe’ Roden <bombe@freenetproject.org>
Fri, 19 Mar 2010 07:59:05 +0000 (08:59 +0100)
src/main/java/net/pterodactylus/fcp/highlevel/FcpClient.java

index 78cb198..91a27f0 100644 (file)
@@ -150,7 +150,7 @@ public class FcpClient {
         *            The Freenet node’s FCP port
         */
        public FcpClient(InetAddress host, int port) {
-               this(new FcpConnection(host, port));
+               this(new FcpConnection(host, port), false);
        }
 
        /**