mirror of
https://github.com/Tha14/toxic.git
synced 2025-06-20 13:16:36 +02:00
old server list wasn't being installed; default to DHTnodes in /usr/local/share/toxic
This commit is contained in:
@ -100,10 +100,10 @@ void write_to_log(uint8_t *msg, uint8_t *name, struct chatlog *log, bool event)
|
||||
|
||||
uint64_t curtime = (uint64_t) time(NULL);
|
||||
|
||||
if (timed_out(log->lastflush, curtime, LOG_FLUSH_LIMIT))
|
||||
if (timed_out(log->lastwrite, curtime, LOG_FLUSH_LIMIT))
|
||||
fflush(log->file);
|
||||
|
||||
log->lastflush = curtime;
|
||||
log->lastwrite = curtime;
|
||||
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user