Only log how many sessions have been restored
Signed-off-by: Christian König <ckoenig@posteo.de>
This commit is contained in:
parent
9483a09ade
commit
f4e830ca17
|
@ -296,8 +296,8 @@ bool restore_db_sessions(struct session *sessions, const uint16_t max_sessions)
|
|||
i++;
|
||||
}
|
||||
|
||||
log_info("Restored %u/%u API session%s from the database",
|
||||
i, max_sessions, max_sessions == 1 ? "" : "s");
|
||||
log_info("Restored %u API session%s from the database",
|
||||
i, i == 1 ? "" : "s");
|
||||
|
||||
// Finalize statement
|
||||
if(sqlite3_finalize(stmt) != SQLITE_OK)
|
||||
|
|
Loading…
Reference in New Issue