Commit 37dec9f1 authored by Damjan Jovanovic's avatar Damjan Jovanovic Committed by Alexandre Julliard

server: Revert b4a1d80a for now.

parent 5b96ed02
......@@ -3053,8 +3053,9 @@ static void test_WSAEnumNetworkEvents(void)
}
else
{
ok (net_events.lNetworkEvents == 0, "Test[%d]: expected 0, got %d\n",
i, net_events.lNetworkEvents);
todo_wine_if (i != 0) /* Remove when fixed */
ok (net_events.lNetworkEvents == 0, "Test[%d]: expected 0, got %d\n",
i, net_events.lNetworkEvents);
}
for (k = 0; k < FD_MAX_EVENTS; k++)
{
......
......@@ -1228,7 +1228,7 @@ DECL_HANDLER(set_socket_event)
FILE_WRITE_ATTRIBUTES, &sock_ops))) return;
old_event = sock->event;
sock->mask = req->mask;
sock->hmask &= (FD_WRITE | ~req->mask); /* re-enable held events */
sock->hmask &= ~req->mask; /* re-enable held events */
sock->event = NULL;
sock->window = req->window;
sock->message = req->msg;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment