From c7fc79e6ff08d7d7f885d22cfbe93fa416025fee Mon Sep 17 00:00:00 2001 From: lotodore Date: Sun, 25 Feb 2007 20:23:01 +0000 Subject: [PATCH] --- src/net/common/clientstate.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/net/common/clientstate.cpp b/src/net/common/clientstate.cpp index f9de8410..3d8a7311 100644 --- a/src/net/common/clientstate.cpp +++ b/src/net/common/clientstate.cpp @@ -278,7 +278,7 @@ ClientStateConnecting::Process(ClientThread &client) timeout.tv_sec = 0; timeout.tv_usec = CLIENT_WAIT_TIMEOUT_MSEC * 1000; - int selectResult = select(data.sockfd, NULL, &writeSet, NULL, &timeout); + int selectResult = select(data.sockfd + 1, NULL, &writeSet, NULL, &timeout); if (selectResult > 0) // success {