diff options
author | irungentoo <irungentoo@gmail.com> | 2015-12-08 18:37:02 -0500 |
---|---|---|
committer | irungentoo <irungentoo@gmail.com> | 2015-12-08 18:37:02 -0500 |
commit | feda36e7cfd72db28e9b1a0c1d2412f4d47ff2d0 (patch) | |
tree | 51c60d91e4c05347495ff2387e2004269598aa1e | |
parent | 4f33b27f6b366426e29068db4a0d87a10a736d43 (diff) |
Forgot to stage this before committing.
-rw-r--r-- | toxcore/ping.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) | |||
270 | IP_Port temp; | 270 | IP_Port temp; |
271 | 271 | ||
272 | if (DHT_getfriendip(ping->dht, public_key, &temp) == 0) { | 272 | if (DHT_getfriendip(ping->dht, public_key, &temp) == 0) { |
273 | send_ping_request(ping, ping->to_ping[i].ip_port, ping->to_ping[i].public_key); | 273 | send_ping_request(ping, ip_port, public_key); |
274 | return -1; | 274 | return -1; |
275 | } | 275 | } |
276 | 276 | ||