summaryrefslogtreecommitdiff
path: root/toxcore
diff options
context:
space:
mode:
Diffstat (limited to 'toxcore')
-rw-r--r--toxcore/DHT.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/toxcore/DHT.c b/toxcore/DHT.c
index 982b06c4..2b8ec5b5 100644
--- a/toxcore/DHT.c
+++ b/toxcore/DHT.c
@@ -585,7 +585,9 @@ static int replace_good( Client_data *list,
585 if ((ip_port.ip.family != AF_INET) && (ip_port.ip.family != AF_INET6)) 585 if ((ip_port.ip.family != AF_INET) && (ip_port.ip.family != AF_INET6))
586 return 1; 586 return 1;
587 587
588 //sort_list(list, length, comp_client_id); 588 /* TODO: eventually remove this.*/
589 if (length != LCLIENT_LIST)
590 sort_list(list, length, comp_client_id);
589 591
590 int8_t replace = -1; 592 int8_t replace = -1;
591 593