forked from I2P_Developers/i2p.i2p
Fix StandardServerSocket.isClosed() and close()
thx cacapo ref: http://zzz.i2p/topics/1547
This commit is contained in:
@ -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