kaffe shits a brick if you want the socket's address after .close() (grumble)

This commit is contained in:
jrandom
2004-05-11 01:55:22 +00:00
committed by zzz
parent d4bb32da82
commit af2f5cd2e1

View File

@ -68,9 +68,9 @@ public class ClientListenerRunner implements Runnable {
_log.debug("Connection received");
runConnection(socket);
} else {
socket.close();
if (_log.shouldLog(Log.WARN))
_log.warn("Refused connection from " + socket.getInetAddress());
socket.close();
}
} catch (IOException ioe) {
_log.error("Server error accepting", ioe);