mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-04 19:07:20 +00:00
server: Set the connection time if connect() returns 0.
This commit is contained in:
parent
ea6f88d83f
commit
869cbc4b4b
|
@ -2359,6 +2359,7 @@ static void sock_ioctl( struct fd *fd, ioctl_code_t code, struct async *async )
|
|||
if (!ret)
|
||||
{
|
||||
sock->state = SOCK_CONNECTED;
|
||||
sock->connect_time = current_time;
|
||||
|
||||
if (!send_len) return;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue