dns_utils: fix first checked DNS entry being ignored

This commit is contained in:
moneromooo-monero 2017-02-16 23:29:29 +00:00
parent 08c3f38031
commit 969ad710ba
No known key found for this signature in database
GPG key ID: 686F07454D6CEFC3

View file

@ -509,7 +509,6 @@ bool load_txt_records_from_dns(std::vector<std::string> &good_records, const std
{ {
cur_index = 0; cur_index = 0;
} }
records[cur_index].clear();
} while (cur_index != first_index); } while (cur_index != first_index);
size_t num_valid_records = 0; size_t num_valid_records = 0;