mirror of
https://github.com/TokTok/c-toxcore
synced 2026-05-14 12:35:14 +00:00
Fixed bug in DHT.
This commit is contained in:
+3
-1
@@ -585,7 +585,9 @@ static int replace_good( Client_data *list,
|
||||
if ((ip_port.ip.family != AF_INET) && (ip_port.ip.family != AF_INET6))
|
||||
return 1;
|
||||
|
||||
//sort_list(list, length, comp_client_id);
|
||||
/* TODO: eventually remove this.*/
|
||||
if (length != LCLIENT_LIST)
|
||||
sort_list(list, length, comp_client_id);
|
||||
|
||||
int8_t replace = -1;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user