From a5649e8cce68ea03fe6a0b5e762fdd799d431450 Mon Sep 17 00:00:00 2001 From: Andrey Borodin Date: Wed, 11 Mar 2020 12:25:34 +0500 Subject: [PATCH] Fix incorrect login time in error when log_session is not enabled --- sources/system.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/sources/system.c b/sources/system.c index 5bca01db..49b75f05 100644 --- a/sources/system.c +++ b/sources/system.c @@ -101,8 +101,7 @@ od_system_server(void *arg) client->tls = server->tls; client->time_accept = 0; 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 */ machine_msg_t *msg;