server: Fix some comments.
Apparently windows reports only currently valid events for WSAEnumNetworkEvents.
diff --git a/server/sock.c b/server/sock.c
index 44422ad..4922d64 100644
--- a/server/sock.c
+++ b/server/sock.c
@@ -961,7 +961,9 @@
FILE_WRITE_ATTRIBUTES, &sock_ops)))
return;
- sock->pmask &= ~req->mask; /* is this safe? */
+ /* for event-based notification, windows erases stale events */
+ sock->pmask &= ~req->mask;
+
sock->hmask &= ~req->mask;
sock->state |= req->sstate;
sock->state &= ~req->cstate;