mirror of
https://github.com/i2p/i2p.i2p.git
synced 2026-10-22 21:53:43 +00:00
Fix StandardServerSocket.isClosed() and close()
thx cacapo ref: http://zzz.i2p/topics/1547
This commit is contained in:
1 parent
c860c49c6b
commit
44e7110c9a
1 file changed
+1
-1
@@ -137,7 +137,7 @@ class StandardServerSocket extends ServerSocket {
|
||||
|
||||
@Override
|
||||
public boolean isClosed() {
|
||||
return ((I2PSocketManagerFull)_socket.getManager()).getConnectionManager().getAllowIncomingConnections();
|
||||
return !((I2PSocketManagerFull)_socket.getManager()).getConnectionManager().getAllowIncomingConnections();
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in new issue
Block a user