From fa750a74b2da3d86bd54a6bd2b0ad20583a36e71 Mon Sep 17 00:00:00 2001 From: lxsang Date: Thu, 22 Aug 2019 14:17:34 +0200 Subject: [PATCH] fix relay server --- relay.c | 1 + 1 file changed, 1 insertion(+) diff --git a/relay.c b/relay.c index 57e9fa1..033bc31 100644 --- a/relay.c +++ b/relay.c @@ -132,6 +132,7 @@ int main(int argc, char* argv[]) if (client_name.sin_family == AF_INET) client->ip = strdup(inet_ntoa(client_name.sin_addr)); client->sock = client_sock; + time(&client->last_io); //accept_request(&client); antd_add_task(&scheduler, antd_create_task(antd_get_host,(void*)client, antd_free_client, client->last_io)); }