diff --git a/toxcore/DHT.c b/toxcore/DHT.c index 07500032..820c3b9c 100644 --- a/toxcore/DHT.c +++ b/toxcore/DHT.c @@ -2201,8 +2201,6 @@ void DHT_save(DHT *dht, uint8_t *data) (dht->close_clientlist[i].assoc6.timestamp != 0)) memcpy(&clients[num++], &dht->close_clientlist[i], sizeof(Client_data)); } - - data += len; } static int dht_load_state_callback(void *outer, uint8_t *data, uint32_t length, uint16_t type)