Commit 139e95df authored by Zebediah Figura's avatar Zebediah Figura Committed by Alexandre Julliard

server: Do not bother clearing events in IOCTL_AFD_WINE_CONNECT.

parent a7577014
......@@ -610,8 +610,6 @@ static void complete_async_connect( struct sock *sock )
if (debug_level) fprintf( stderr, "completing connect request for socket %p\n", sock );
sock->pending_events &= ~(FD_CONNECT | FD_READ | FD_WRITE);
sock->reported_events &= ~(FD_CONNECT | FD_READ | FD_WRITE);
sock->state = SOCK_CONNECTED;
if (!req->send_len)
......@@ -1846,9 +1844,6 @@ static int sock_ioctl( struct fd *fd, ioctl_code_t code, struct async *async )
/* a connected or connecting socket can no longer be accepted into */
allow_fd_caching( sock->fd );
sock->pending_events &= ~(FD_CONNECT | FD_READ | FD_WRITE);
sock->reported_events &= ~(FD_CONNECT | FD_READ | FD_WRITE);
if (!ret)
{
sock->state = SOCK_CONNECTED;
......
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