fix relay server

This commit is contained in:
lxsang 2019-08-22 14:17:34 +02:00
parent 15feee5bf3
commit fa750a74b2

View File

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