[PATCH 6/6] server: Do not bother clearing events in IOCTL_AFD_LISTEN.

Zebediah Figura z.figura12 at gmail.com
Thu Jun 10 19:36:28 CDT 2021


Signed-off-by: Zebediah Figura <z.figura12 at gmail.com>
---
 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 */
-- 
2.30.2




More information about the wine-devel mailing list