ws2_32: Fixed select() number of fds (Coverity).
This commit is contained in:
parent
a75402af96
commit
f50b8b8ac1
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue