Skip to content

Commit

Permalink
fix: wrong comment for closelist
Browse files Browse the repository at this point in the history
  • Loading branch information
Green-Sky committed Nov 8, 2024
1 parent ce4f29e commit 6d27a1a
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions toxcore/tox_private.h
Original file line number Diff line number Diff line change
Expand Up @@ -155,17 +155,15 @@ bool tox_dht_get_nodes(const Tox *tox, const uint8_t *public_key, const char *ip
const uint8_t *target_public_key, Tox_Err_Dht_Get_Nodes *error);

/**
* This function returns the ratio of close dht nodes that are known to support
* announce/store. This function returns the number of DHT nodes in the
* closelist.
* This function returns the number of DHT nodes in the closelist.
*
* @return number
*/
uint16_t tox_dht_get_num_closelist(const Tox *tox);

/**
* This function returns the number of DHT nodes in the closelist,
* that are capable to store announce data (introduced in version 0.2.18).
* This function returns the number of DHT nodes in the closelist
* that are capable of storing announce data (introduced in version 0.2.18).
*
* @return number
*/
Expand Down

0 comments on commit 6d27a1a

Please sign in to comment.