From feda36e7cfd72db28e9b1a0c1d2412f4d47ff2d0 Mon Sep 17 00:00:00 2001 From: irungentoo Date: Tue, 8 Dec 2015 18:37:02 -0500 Subject: [PATCH] Forgot to stage this before committing. --- toxcore/ping.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/toxcore/ping.c b/toxcore/ping.c index c2ca2f91..5c377d77 100644 --- a/toxcore/ping.c +++ b/toxcore/ping.c @@ -270,7 +270,7 @@ int add_to_ping(PING *ping, const uint8_t *public_key, IP_Port ip_port) IP_Port temp; 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; }