summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorroot <root>2012-05-14 19:09:58 +0000
committerroot <root>2012-05-14 19:09:58 +0000
commit1abb0def006c9dd02941ac27b1c49a27d43bbc81 (patch)
tree6586fdc9cefa55715ffbc676f4324d19402cca35
parent099c2c637f9994af11b91e6edfc3fff676844893 (diff)
Denis Bilenko, <CAGRiapON-ufrHJv4CmSkq-E5QGSPzE6-Npvox1R8nptK9gwevA@mail.gmail.com>
-rw-r--r--ev.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/ev.c b/ev.c
index 57b2798..a3718cc 100644
--- a/ev.c
+++ b/ev.c
@@ -1912,9 +1912,10 @@ pipecb (EV_P_ ev_io *iow, int revents)
#ifdef _WIN32
WSABUF buf;
DWORD recvd;
+ DWORD flags = 0;
buf.buf = dummy;
buf.len = sizeof (dummy);
- WSARecv (EV_FD_TO_WIN32_HANDLE (evpipe [0]), &buf, 1, &recvd, 0, 0, 0);
+ WSARecv (EV_FD_TO_WIN32_HANDLE (evpipe [0]), &buf, 1, &recvd, &flags, 0, 0);
#else
read (evpipe [0], &dummy, sizeof (dummy));
#endif