mirror of
https://github.com/irungentoo/toxcore.git
synced 2024-03-22 13:30:51 +08:00
Forgot to stage this before committing.
This commit is contained in:
parent
4f33b27f6b
commit
feda36e7cf
@ -270,7 +270,7 @@ int add_to_ping(PING *ping, const uint8_t *public_key, IP_Port ip_port)
|
|||||||
IP_Port temp;
|
IP_Port temp;
|
||||||
|
|
||||||
if (DHT_getfriendip(ping->dht, public_key, &temp) == 0) {
|
if (DHT_getfriendip(ping->dht, public_key, &temp) == 0) {
|
||||||
send_ping_request(ping, ping->to_ping[i].ip_port, ping->to_ping[i].public_key);
|
send_ping_request(ping, ip_port, public_key);
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user