From 9aad98489f7bbf78418dcba4a5faf673b58843cb Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Wed, 24 Jan 2007 22:25:54 +0000 Subject: ...this time? --- src/connection.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/connection.cpp b/src/connection.cpp index dbf2761..f382d82 100644 --- a/src/connection.cpp +++ b/src/connection.cpp @@ -236,7 +236,8 @@ int Connection::readInput() fd_set rfds; FD_ZERO(&rfds); FD_SET(nSocket, &rfds); - int retval = select( nSocket+1, &rfds, NULL, NULL, NULL ); + struct timeval tv = { 0, 0 }; + int retval = select( nSocket+1, &rfds, NULL, NULL, &tv ); if( retval == -1 ) throw ConnectionException( excodeBadReadError, -- cgit v1.2.3