diff options
Diffstat (limited to 'toxcore/Messenger.c')
-rw-r--r-- | toxcore/Messenger.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/toxcore/Messenger.c b/toxcore/Messenger.c index 166e44f4..16e03cbc 100644 --- a/toxcore/Messenger.c +++ b/toxcore/Messenger.c | |||
@@ -2340,7 +2340,7 @@ void do_messenger(Messenger *m) | |||
2340 | 2340 | ||
2341 | LOGGER_TRACE("C[%2u] %s:%u [%3u] %s", | 2341 | LOGGER_TRACE("C[%2u] %s:%u [%3u] %s", |
2342 | client, ip_ntoa(&assoc->ip_port.ip), ntohs(assoc->ip_port.port), | 2342 | client, ip_ntoa(&assoc->ip_port.ip), ntohs(assoc->ip_port.port), |
2343 | last_pinged, ID2String(cptr->client_id)); | 2343 | last_pinged, ID2String(cptr->public_key)); |
2344 | } | 2344 | } |
2345 | } | 2345 | } |
2346 | 2346 | ||
@@ -2360,7 +2360,7 @@ void do_messenger(Messenger *m) | |||
2360 | continue; | 2360 | continue; |
2361 | 2361 | ||
2362 | for (dhtfriend = 0; dhtfriend < m->dht->num_friends; dhtfriend++) | 2362 | for (dhtfriend = 0; dhtfriend < m->dht->num_friends; dhtfriend++) |
2363 | if (id_equal(m->friendlist[friend].real_pk, m->dht->friends_list[dhtfriend].client_id)) { | 2363 | if (id_equal(m->friendlist[friend].real_pk, m->dht->friends_list[dhtfriend].public_key)) { |
2364 | m2dht[friend] = dhtfriend; | 2364 | m2dht[friend] = dhtfriend; |
2365 | break; | 2365 | break; |
2366 | } | 2366 | } |
@@ -2390,7 +2390,7 @@ void do_messenger(Messenger *m) | |||
2390 | dht2m[friend], friend, msgfptr->name, | 2390 | dht2m[friend], friend, msgfptr->name, |
2391 | ID2String(msgfptr->real_pk)); | 2391 | ID2String(msgfptr->real_pk)); |
2392 | } else { | 2392 | } else { |
2393 | LOGGER_TRACE("F[--:%2u] %s", friend, ID2String(dhtfptr->client_id)); | 2393 | LOGGER_TRACE("F[--:%2u] %s", friend, ID2String(dhtfptr->public_key)); |
2394 | } | 2394 | } |
2395 | 2395 | ||
2396 | for (client = 0; client < MAX_FRIEND_CLIENTS; client++) { | 2396 | for (client = 0; client < MAX_FRIEND_CLIENTS; client++) { |
@@ -2408,7 +2408,7 @@ void do_messenger(Messenger *m) | |||
2408 | LOGGER_TRACE("F[%2u] => C[%2u] %s:%u [%3u] %s", | 2408 | LOGGER_TRACE("F[%2u] => C[%2u] %s:%u [%3u] %s", |
2409 | friend, client, ip_ntoa(&assoc->ip_port.ip), | 2409 | friend, client, ip_ntoa(&assoc->ip_port.ip), |
2410 | ntohs(assoc->ip_port.port), last_pinged, | 2410 | ntohs(assoc->ip_port.port), last_pinged, |
2411 | ID2String(cptr->client_id)); | 2411 | ID2String(cptr->public_key)); |
2412 | } | 2412 | } |
2413 | } | 2413 | } |
2414 | } | 2414 | } |