Commit f50b8b8a authored by Marcus Meissner's avatar Marcus Meissner Committed by Alexandre Julliard

ws2_32: Fixed select() number of fds (Coverity).

parent a75402af
......@@ -2958,7 +2958,7 @@ static DWORD WINAPI drain_socket_thread(LPVOID arg)
fd_set readset;
FD_ZERO(&readset);
FD_SET(sock, &readset);
select(0, &readset, NULL, NULL, NULL);
select(sock+1, &readset, NULL, NULL, NULL);
while (drain_pause)
Sleep(100);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment