server: Set the connection time if connect() returns 0.

This commit is contained in:
Zebediah Figura 2022-05-29 11:30:28 -05:00 committed by Alexandre Julliard
parent ea6f88d83f
commit 869cbc4b4b

View file

@ -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;
}