Zebediah Figura : server: Do not bother clearing events in IOCTL_AFD_LISTEN.

Alexandre Julliard julliard at winehq.org
Fri Jun 11 15:31:30 CDT 2021


Module: wine
Branch: master
Commit: 00eb00f6d623347d27001a9a03774ccf7d244542
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=00eb00f6d623347d27001a9a03774ccf7d244542

Author: Zebediah Figura <z.figura12 at gmail.com>
Date:   Thu Jun 10 19:36:28 2021 -0500

server: Do not bother clearing events in IOCTL_AFD_LISTEN.

Signed-off-by: Zebediah Figura <z.figura12 at gmail.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 server/sock.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/server/sock.c b/server/sock.c
index 827eba52117..66440a540dc 100644
--- a/server/sock.c
+++ b/server/sock.c
@@ -1786,8 +1786,6 @@ static int sock_ioctl( struct fd *fd, ioctl_code_t code, struct async *async )
             return 0;
         }
 
-        sock->pending_events &= ~FD_ACCEPT;
-        sock->reported_events &= ~FD_ACCEPT;
         sock->state = SOCK_LISTENING;
 
         /* a listening socket can no longer be accepted into */




More information about the wine-cvs mailing list