From 69b654d5393189c9c23dcc1241d8ab0588bae355 Mon Sep 17 00:00:00 2001 From: Frank Schmirler Date: Mon, 21 Oct 2013 22:21:12 +0200 Subject: Removed noisy debug messages --- client/socket.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'client') diff --git a/client/socket.c b/client/socket.c index c0a6d1f..23a1dca 100644 --- a/client/socket.c +++ b/client/socket.c @@ -115,18 +115,15 @@ bool cClientSocket::CheckConnection(void) { if (IsOpen()) { cTBSelect select; - Dprintf("connection open\n"); - // XXX+ check if connection is still alive (is there a better way?) // There REALLY shouldn't be anything readable according to PROTOCOL here // If there is, assume it's an eof signal (subseq. read would return 0) select.Add(*this, false); int res; if ((res = select.Select(0)) == 0) { - Dprintf("select said nothing happened\n"); return true; } - Dprintf("closing connection (res was %d)", res); + Dprintf("closing connection (res was %d)\n", res); Close(); } -- cgit v1.2.3