dns_utils: fix first checked DNS entry being ignored
This commit is contained in:
parent
08c3f38031
commit
969ad710ba
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue