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

View File

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