diff options
Diffstat (limited to 'toxcore/DHT.c')
-rw-r--r-- | toxcore/DHT.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/toxcore/DHT.c b/toxcore/DHT.c index 55116bc0..fb2e125d 100644 --- a/toxcore/DHT.c +++ b/toxcore/DHT.c | |||
@@ -610,7 +610,7 @@ int unpack_nodes(Node_format *nodes, uint16_t max_num_nodes, uint16_t *processed | |||
610 | return num; | 610 | return num; |
611 | } | 611 | } |
612 | 612 | ||
613 | /* Find index of ##type with public_key equal to pk. | 613 | /* Find index in an array with public_key equal to pk. |
614 | * | 614 | * |
615 | * return index or UINT32_MAX if not found. | 615 | * return index or UINT32_MAX if not found. |
616 | */ | 616 | */ |
@@ -1112,7 +1112,7 @@ static bool is_pk_in_close_list(DHT *dht, const uint8_t *public_key, IP_Port ip_ | |||
1112 | } | 1112 | } |
1113 | 1113 | ||
1114 | /* Check if the node obtained with a get_nodes with public_key should be pinged. | 1114 | /* Check if the node obtained with a get_nodes with public_key should be pinged. |
1115 | * NOTE: for best results call it after addto_lists; | 1115 | * NOTE: for best results call it after addto_lists. |
1116 | * | 1116 | * |
1117 | * return false if the node should not be pinged. | 1117 | * return false if the node should not be pinged. |
1118 | * return true if it should. | 1118 | * return true if it should. |