diff options
-rw-r--r-- | toxcore/DHT.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/toxcore/DHT.c b/toxcore/DHT.c index 83e3023f..67e2f378 100644 --- a/toxcore/DHT.c +++ b/toxcore/DHT.c | |||
@@ -2395,7 +2395,6 @@ static int dht_load_state_callback(void *outer, uint8_t *data, uint32_t length, | |||
2395 | num = length / sizeof(DHT_Friend); | 2395 | num = length / sizeof(DHT_Friend); |
2396 | 2396 | ||
2397 | for (i = 0; i < num; ++i) { | 2397 | for (i = 0; i < num; ++i) { |
2398 | DHT_addfriend(dht, friend_list[i].client_id); | ||
2399 | 2398 | ||
2400 | for (j = 0; j < MAX_FRIEND_CLIENTS; ++j) { | 2399 | for (j = 0; j < MAX_FRIEND_CLIENTS; ++j) { |
2401 | Client_data *client = &friend_list[i].client_list[j]; | 2400 | Client_data *client = &friend_list[i].client_list[j]; |