Eric Pouech : winsock: Clear the held mask with the requested events so that they can be signaled .

Alexandre Julliard julliard at wine.codeweavers.com
Mon Oct 23 06:12:26 CDT 2006


Module: wine
Branch: master
Commit: e0477ce92a89ea92d184a606f74b5d2ba3043ff3
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=e0477ce92a89ea92d184a606f74b5d2ba3043ff3

Author: Eric Pouech <eric.pouech at wanadoo.fr>
Date:   Sat Oct 21 08:49:40 2006 +0200

winsock: Clear the held mask with the requested events so that they can be signaled.

---

 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-cvs mailing list