summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorirungentoo <irungentoo@gmail.com>2015-07-25 23:34:42 -0400
committerirungentoo <irungentoo@gmail.com>2015-07-25 23:34:42 -0400
commit63ecb77556dcafbde90fc8619f263a6c0801ecef (patch)
tree508b87a9d269ee0ae64b0c20135a1978029856a1
parente196a47f381c1edf23eb780f6538d9e7e7e49e66 (diff)
Comment fix.
-rw-r--r--toxcore/DHT.h10
1 files changed, 1 insertions, 9 deletions
diff --git a/toxcore/DHT.h b/toxcore/DHT.h
index eba6e1f6..933bdcaf 100644
--- a/toxcore/DHT.h
+++ b/toxcore/DHT.h
@@ -283,15 +283,7 @@ int DHT_delfriend(DHT *dht, const uint8_t *client_id, uint16_t lock_count);
283 * ip must be 4 bytes long. 283 * ip must be 4 bytes long.
284 * port must be 2 bytes long. 284 * port must be 2 bytes long.
285 * 285 *
286 * !!! Signature changed !!! 286 * int DHT_getfriendip(DHT *dht, uint8_t *client_id, IP_Port *ip_port);
287 *
288 * OLD: IP_Port DHT_getfriendip(DHT *dht, uint8_t *client_id);
289 *
290 * return ip if success.
291 * return ip of 0 if failure (This means the friend is either offline or we have not found him yet).
292 * return ip of 1 if friend is not in list.
293 *
294 * NEW: int DHT_getfriendip(DHT *dht, uint8_t *client_id, IP_Port *ip_port);
295 * 287 *
296 * return -1, -- if client_id does NOT refer to a friend 288 * return -1, -- if client_id does NOT refer to a friend
297 * return 0, -- if client_id refers to a friend and we failed to find the friend (yet) 289 * return 0, -- if client_id refers to a friend and we failed to find the friend (yet)