I2P Address: [http://git.idk.i2p]

Skip to content
Snippets Groups Projects
Commit 0ed29573 authored by dev's avatar dev
Browse files

minor

parent 1365d3e3
No related branches found
No related tags found
No related merge requests found
......@@ -555,7 +555,8 @@ public class EventPumper implements Runnable {
con.setKey(key);
try {
NTCPAddress naddr = con.getRemoteAddress();
if (naddr.getPort() <= 0) throw new IOException("Invalid NTCP address: " + naddr);
if (naddr.getPort() <= 0)
throw new IOException("Invalid NTCP address: " + naddr);
InetSocketAddress saddr = new InetSocketAddress(naddr.getHost(), naddr.getPort());
boolean connected = con.getChannel().connect(saddr);
if (connected) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment