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 4277f16a..4cd9e1d6 100644 --- a/toxcore/Messenger.c +++ b/toxcore/Messenger.c | |||
@@ -2239,7 +2239,7 @@ static void connection_status_cb(Messenger *m) | |||
2239 | } | 2239 | } |
2240 | 2240 | ||
2241 | 2241 | ||
2242 | #ifdef LOGGING | 2242 | #ifdef TOX_LOGGER |
2243 | #define DUMPING_CLIENTS_FRIENDS_EVERY_N_SECONDS 60UL | 2243 | #define DUMPING_CLIENTS_FRIENDS_EVERY_N_SECONDS 60UL |
2244 | static time_t lastdump = 0; | 2244 | static time_t lastdump = 0; |
2245 | static char IDString[crypto_box_PUBLICKEYBYTES * 2 + 1]; | 2245 | static char IDString[crypto_box_PUBLICKEYBYTES * 2 + 1]; |
@@ -2315,7 +2315,7 @@ void do_messenger(Messenger *m) | |||
2315 | do_friends(m); | 2315 | do_friends(m); |
2316 | connection_status_cb(m); | 2316 | connection_status_cb(m); |
2317 | 2317 | ||
2318 | #ifdef LOGGING | 2318 | #ifdef TOX_LOGGER |
2319 | 2319 | ||
2320 | if (unix_time() > lastdump + DUMPING_CLIENTS_FRIENDS_EVERY_N_SECONDS) { | 2320 | if (unix_time() > lastdump + DUMPING_CLIENTS_FRIENDS_EVERY_N_SECONDS) { |
2321 | 2321 | ||
@@ -2414,7 +2414,7 @@ void do_messenger(Messenger *m) | |||
2414 | } | 2414 | } |
2415 | } | 2415 | } |
2416 | 2416 | ||
2417 | #endif /* LOGGING */ | 2417 | #endif /* TOX_LOGGER */ |
2418 | } | 2418 | } |
2419 | 2419 | ||
2420 | /* new messenger format for load/save, more robust and forward compatible */ | 2420 | /* new messenger format for load/save, more robust and forward compatible */ |