diff options
Diffstat (limited to 'toxcore/Messenger.c')
-rw-r--r-- | toxcore/Messenger.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/toxcore/Messenger.c b/toxcore/Messenger.c index c73161d3..659c837b 100644 --- a/toxcore/Messenger.c +++ b/toxcore/Messenger.c | |||
@@ -1806,10 +1806,10 @@ void do_messenger(Messenger *m) | |||
1806 | 1806 | ||
1807 | #ifdef LOGGING | 1807 | #ifdef LOGGING |
1808 | 1808 | ||
1809 | if (now() > lastdump + DUMPING_CLIENTS_FRIENDS_EVERY_N_SECONDS) { | 1809 | if (unix_time() > lastdump + DUMPING_CLIENTS_FRIENDS_EVERY_N_SECONDS) { |
1810 | loglog(" = = = = = = = = \n"); | 1810 | loglog(" = = = = = = = = \n"); |
1811 | 1811 | ||
1812 | lastdump = now(); | 1812 | lastdump = unix_time(); |
1813 | uint32_t client, last_pinged; | 1813 | uint32_t client, last_pinged; |
1814 | 1814 | ||
1815 | for (client = 0; client < LCLIENT_LIST; client++) { | 1815 | for (client = 0; client < LCLIENT_LIST; client++) { |