Skip to content

Commit 6d27a1a

Browse files
committed
fix: wrong comment for closelist
1 parent ce4f29e commit 6d27a1a

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

toxcore/tox_private.h

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -155,17 +155,15 @@ bool tox_dht_get_nodes(const Tox *tox, const uint8_t *public_key, const char *ip
155155
const uint8_t *target_public_key, Tox_Err_Dht_Get_Nodes *error);
156156

157157
/**
158-
* This function returns the ratio of close dht nodes that are known to support
159-
* announce/store. This function returns the number of DHT nodes in the
160-
* closelist.
158+
* This function returns the number of DHT nodes in the closelist.
161159
*
162160
* @return number
163161
*/
164162
uint16_t tox_dht_get_num_closelist(const Tox *tox);
165163

166164
/**
167-
* This function returns the number of DHT nodes in the closelist,
168-
* that are capable to store announce data (introduced in version 0.2.18).
165+
* This function returns the number of DHT nodes in the closelist
166+
* that are capable of storing announce data (introduced in version 0.2.18).
169167
*
170168
* @return number
171169
*/

0 commit comments

Comments
 (0)