From f5c7d6576d6a1e4e16a40008e56d7b707105032f Mon Sep 17 00:00:00 2001 From: jrandom <jrandom> Date: Thu, 7 Oct 2004 16:42:55 +0000 Subject: [PATCH] no need to double b0rk --- .../src/net/i2p/router/transport/tcp/ConnectionBuilder.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/router/java/src/net/i2p/router/transport/tcp/ConnectionBuilder.java b/router/java/src/net/i2p/router/transport/tcp/ConnectionBuilder.java index a5addc8119..f5738dfa2a 100644 --- a/router/java/src/net/i2p/router/transport/tcp/ConnectionBuilder.java +++ b/router/java/src/net/i2p/router/transport/tcp/ConnectionBuilder.java @@ -104,7 +104,8 @@ public class ConnectionBuilder { try { return doEstablishConnection(); } catch (Exception e) { // catchall in case the timeout gets us flat footed - fail("Error connecting", e); + if (_socket != null) + fail("Error connecting", e); return null; } } -- GitLab