Commit 869cbc4b authored by Zebediah Figura's avatar Zebediah Figura Committed by Alexandre Julliard

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

parent ea6f88d8
......@@ -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;
}
......
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