[PATCH] [WinSock]: WSAAsyncSelect

Eric Pouech eric.pouech at wanadoo.fr
Sat Oct 21 01:49:40 CDT 2006


- clear the held mask with the requested events so
  that they can be signaled

A+
---

 server/sock.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/server/sock.c b/server/sock.c
index ce63932..c1a7a8d 100644
--- a/server/sock.c
+++ b/server/sock.c
@@ -814,6 +814,7 @@ DECL_HANDLER(set_socket_event)
                                                 FILE_WRITE_ATTRIBUTES, &sock_ops))) return;
     old_event = sock->event;
     sock->mask    = req->mask;
+    sock->hmask   &= ~req->mask; /* re-enable held events */
     sock->event   = NULL;
     sock->window  = req->window;
     sock->message = req->msg;



More information about the wine-patches mailing list