This commit is contained in:
lotodore
2007-02-25 20:23:01 +00:00
parent 07c08c0599
commit c7fc79e6ff
+1 -1
View File
@@ -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
{