| commit | f50b8b8ac1daff210ebc0749875be801d51d3801 | [log] [tgz] |
|---|---|---|
| author | Marcus Meissner <marcus@jet.franken.de> | Thu Jun 16 13:58:12 2011 +0200 |
| committer | Alexandre Julliard <julliard@winehq.org> | Thu Jun 16 16:42:19 2011 +0200 |
| tree | 05aa2d7a7dbe8fe38bc08d1d2730e750a8f40a60 | |
| parent | a75402af9643065b648e906ca9a5301e276864fa [diff] |
ws2_32: Fixed select() number of fds (Coverity).
diff --git a/dlls/ws2_32/tests/sock.c b/dlls/ws2_32/tests/sock.c index de9c400..29c97e2 100644 --- a/dlls/ws2_32/tests/sock.c +++ b/dlls/ws2_32/tests/sock.c
@@ -2958,7 +2958,7 @@ 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); }