mirror of
https://github.com/wine-mirror/wine
synced 2024-07-08 20:06:18 +00:00
server: Do not set the socket state in complete_async_connect().
It's already set previously in sock_poll_event(). Moreover, complete_async_connect() will not always be called.
This commit is contained in:
parent
647bed72f5
commit
ea6f88d83f
|
@ -806,8 +806,6 @@ static void complete_async_connect( struct sock *sock )
|
|||
|
||||
if (debug_level) fprintf( stderr, "completing connect request for socket %p\n", sock );
|
||||
|
||||
sock->state = SOCK_CONNECTED;
|
||||
|
||||
if (!req->send_len)
|
||||
{
|
||||
async_terminate( req->async, STATUS_SUCCESS );
|
||||
|
|
Loading…
Reference in New Issue
Block a user