mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-06 04:20:56 +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 );
|
if (debug_level) fprintf( stderr, "completing connect request for socket %p\n", sock );
|
||||||
|
|
||||||
sock->state = SOCK_CONNECTED;
|
|
||||||
|
|
||||||
if (!req->send_len)
|
if (!req->send_len)
|
||||||
{
|
{
|
||||||
async_terminate( req->async, STATUS_SUCCESS );
|
async_terminate( req->async, STATUS_SUCCESS );
|
||||||
|
|
Loading…
Reference in a new issue