summaryrefslogtreecommitdiff
path: root/toxcore/Messenger.c
diff options
context:
space:
mode:
Diffstat (limited to 'toxcore/Messenger.c')
-rw-r--r--toxcore/Messenger.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/toxcore/Messenger.c b/toxcore/Messenger.c
index 2033e6a9..f5ed14b1 100644
--- a/toxcore/Messenger.c
+++ b/toxcore/Messenger.c
@@ -2275,7 +2275,7 @@ void do_messenger(Messenger *m)
2275 if (last_pinged > 999) 2275 if (last_pinged > 999)
2276 last_pinged = 999; 2276 last_pinged = 999;
2277 2277
2278 LOGGER_DEBUG("C[%2u] %s:%u [%3u] %s", 2278 LOGGER_INFO("C[%2u] %s:%u [%3u] %s",
2279 client, ip_ntoa(&assoc->ip_port.ip), ntohs(assoc->ip_port.port), 2279 client, ip_ntoa(&assoc->ip_port.ip), ntohs(assoc->ip_port.port),
2280 last_pinged, ID2String(cptr->client_id)); 2280 last_pinged, ID2String(cptr->client_id));
2281 } 2281 }
@@ -2308,7 +2308,7 @@ void do_messenger(Messenger *m)
2308 dht2m[m2dht[friend]] = friend; 2308 dht2m[m2dht[friend]] = friend;
2309 2309
2310 if (m->numfriends != m->dht->num_friends) { 2310 if (m->numfriends != m->dht->num_friends) {
2311 LOGGER_DEBUG("Friend num in DHT %u != friend num in msger %u\n", m->dht->num_friends, m->numfriends); 2311 LOGGER_INFO("Friend num in DHT %u != friend num in msger %u\n", m->dht->num_friends, m->numfriends);
2312 } 2312 }
2313 2313
2314 uint32_t ping_lastrecv; 2314 uint32_t ping_lastrecv;
@@ -2329,11 +2329,11 @@ void do_messenger(Messenger *m)
2329 if (ping_lastrecv > 999) 2329 if (ping_lastrecv > 999)
2330 ping_lastrecv = 999; 2330 ping_lastrecv = 999;
2331 2331
2332 LOGGER_DEBUG("F[%2u:%2u] <%s> %02i [%03u] %s", 2332 LOGGER_INFO("F[%2u:%2u] <%s> %02i [%03u] %s",
2333 dht2m[friend], friend, msgfptr->name, msgfptr->crypt_connection_id, 2333 dht2m[friend], friend, msgfptr->name, msgfptr->crypt_connection_id,
2334 ping_lastrecv, ID2String(msgfptr->client_id)); 2334 ping_lastrecv, ID2String(msgfptr->client_id));
2335 } else { 2335 } else {
2336 LOGGER_DEBUG("F[--:%2u] %s", friend, ID2String(dhtfptr->client_id)); 2336 LOGGER_INFO("F[--:%2u] %s", friend, ID2String(dhtfptr->client_id));
2337 } 2337 }
2338 2338
2339 for (client = 0; client < MAX_FRIEND_CLIENTS; client++) { 2339 for (client = 0; client < MAX_FRIEND_CLIENTS; client++) {
@@ -2348,7 +2348,7 @@ void do_messenger(Messenger *m)
2348 if (last_pinged > 999) 2348 if (last_pinged > 999)
2349 last_pinged = 999; 2349 last_pinged = 999;
2350 2350
2351 LOGGER_DEBUG("F[%2u] => C[%2u] %s:%u [%3u] %s", 2351 LOGGER_INFO("F[%2u] => C[%2u] %s:%u [%3u] %s",
2352 friend, client, ip_ntoa(&assoc->ip_port.ip), 2352 friend, client, ip_ntoa(&assoc->ip_port.ip),
2353 ntohs(assoc->ip_port.port), last_pinged, 2353 ntohs(assoc->ip_port.port), last_pinged,
2354 ID2String(cptr->client_id)); 2354 ID2String(cptr->client_id));