diff options
Diffstat (limited to 'toxcore/Messenger.c')
-rw-r--r-- | toxcore/Messenger.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/toxcore/Messenger.c b/toxcore/Messenger.c index 887c3702..6d45077a 100644 --- a/toxcore/Messenger.c +++ b/toxcore/Messenger.c | |||
@@ -2245,7 +2245,7 @@ static void connection_status_cb(Messenger *m) | |||
2245 | } | 2245 | } |
2246 | 2246 | ||
2247 | 2247 | ||
2248 | #ifdef LOGGING | 2248 | #ifdef TOX_LOGGER |
2249 | #define DUMPING_CLIENTS_FRIENDS_EVERY_N_SECONDS 60UL | 2249 | #define DUMPING_CLIENTS_FRIENDS_EVERY_N_SECONDS 60UL |
2250 | static time_t lastdump = 0; | 2250 | static time_t lastdump = 0; |
2251 | static char IDString[crypto_box_PUBLICKEYBYTES * 2 + 1]; | 2251 | static char IDString[crypto_box_PUBLICKEYBYTES * 2 + 1]; |
@@ -2321,7 +2321,7 @@ void do_messenger(Messenger *m) | |||
2321 | do_friends(m); | 2321 | do_friends(m); |
2322 | connection_status_cb(m); | 2322 | connection_status_cb(m); |
2323 | 2323 | ||
2324 | #ifdef LOGGING | 2324 | #ifdef TOX_LOGGER |
2325 | 2325 | ||
2326 | if (unix_time() > lastdump + DUMPING_CLIENTS_FRIENDS_EVERY_N_SECONDS) { | 2326 | if (unix_time() > lastdump + DUMPING_CLIENTS_FRIENDS_EVERY_N_SECONDS) { |
2327 | 2327 | ||
@@ -2420,7 +2420,7 @@ void do_messenger(Messenger *m) | |||
2420 | } | 2420 | } |
2421 | } | 2421 | } |
2422 | 2422 | ||
2423 | #endif /* LOGGING */ | 2423 | #endif /* TOX_LOGGER */ |
2424 | } | 2424 | } |
2425 | 2425 | ||
2426 | /* new messenger format for load/save, more robust and forward compatible */ | 2426 | /* new messenger format for load/save, more robust and forward compatible */ |