Fix StandardServerSocket.isClosed() and close()

thx cacapo
ref: http://zzz.i2p/topics/1547
This commit is contained in:
zzz
2014-01-08 00:32:51 +00:00
parent c860c49c6b
commit 44e7110c9a

View File

@ -137,7 +137,7 @@ class StandardServerSocket extends ServerSocket {
@Override
public boolean isClosed() {
return ((I2PSocketManagerFull)_socket.getManager()).getConnectionManager().getAllowIncomingConnections();
return !((I2PSocketManagerFull)_socket.getManager()).getConnectionManager().getAllowIncomingConnections();
}
/**