mirror of https://github.com/yandex/odyssey.git
Fix incorrect login time in error when log_session is not enabled
This commit is contained in:
parent
1b6f168c3d
commit
a5649e8cce
|
@ -101,8 +101,7 @@ od_system_server(void *arg)
|
||||||
client->tls = server->tls;
|
client->tls = server->tls;
|
||||||
client->time_accept = 0;
|
client->time_accept = 0;
|
||||||
client->notify_io = notify_io;
|
client->notify_io = notify_io;
|
||||||
if (instance->config.log_session)
|
client->time_accept = machine_time_us();
|
||||||
client->time_accept = machine_time_us();
|
|
||||||
|
|
||||||
/* create new client event and pass it to worker pool */
|
/* create new client event and pass it to worker pool */
|
||||||
machine_msg_t *msg;
|
machine_msg_t *msg;
|
||||||
|
|
Loading…
Reference in New Issue