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

This commit is contained in:
Eric Pouech 2006-10-21 08:49:40 +02:00 committed by Alexandre Julliard
parent ea2f60160c
commit e0477ce92a
1 changed files with 1 additions and 0 deletions

View File

@ -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;