diff options
Diffstat (limited to 'toxcore/DHT.c')
-rw-r--r-- | toxcore/DHT.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/toxcore/DHT.c b/toxcore/DHT.c index 227c6175..dfd4d821 100644 --- a/toxcore/DHT.c +++ b/toxcore/DHT.c | |||
@@ -866,7 +866,7 @@ static unsigned int store_node_ok(const Client_data *client, const uint8_t *publ | |||
866 | static void sort_client_list(Client_data *list, unsigned int length, const uint8_t *comp_public_key) | 866 | static void sort_client_list(Client_data *list, unsigned int length, const uint8_t *comp_public_key) |
867 | { | 867 | { |
868 | // Pass comp_public_key to qsort with each Client_data entry, so the | 868 | // Pass comp_public_key to qsort with each Client_data entry, so the |
869 | // comparison function cmp_dht_entry can use it as the base of comparison. | 869 | // comparison function can use it as the base of comparison. |
870 | Cmp_data cmp_list[length]; | 870 | Cmp_data cmp_list[length]; |
871 | 871 | ||
872 | for (uint32_t i = 0; i < length; i++) { | 872 | for (uint32_t i = 0; i < length; i++) { |