diff options
author | Jacques Garrigue <garrigue at math.nagoya-u.ac.jp> | 2011-11-24 08:43:28 +0000 |
---|---|---|
committer | Jacques Garrigue <garrigue at math.nagoya-u.ac.jp> | 2011-11-24 08:43:28 +0000 |
commit | bf63f916712f981f49ce62aa6ca0a6b1564af603 (patch) | |
tree | 451eba2212360b4fa5ab07845f95792efa80c8c3 /otherlibs/win32unix/select.c | |
parent | b67f7d43fbbf128fa71996b99df159a6aba7d88b (diff) | |
parent | 99451ca83e21bf89b23f230cebf45c77917e1106 (diff) | |
download | ocaml-gadts-devel.tar.gz |
merge trunkgadts-devel
git-svn-id: http://caml.inria.fr/svn/ocaml/branches/gadts-devel@11283 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
Diffstat (limited to 'otherlibs/win32unix/select.c')
-rw-r--r-- | otherlibs/win32unix/select.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/otherlibs/win32unix/select.c b/otherlibs/win32unix/select.c index d96c3d9d28..af9766ff87 100644 --- a/otherlibs/win32unix/select.c +++ b/otherlibs/win32unix/select.c @@ -556,7 +556,7 @@ void socket_poll (HANDLE hStop, void *_data) if (iterQuery->uFlagsFd & FLAGS_FD_IS_BLOCKING) { DEBUG_PRINT("Restore a blocking socket"); - iMode = 1; + iMode = 0; check_error(lpSelectData, WSAEventSelect((SOCKET)(iterQuery->hFileDescr), aEvents[i], 0) != 0 || ioctlsocket((SOCKET)(iterQuery->hFileDescr), FIONBIO, &iMode) != 0); |