diff options
author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2017-02-16 23:29:29 +0000 |
---|---|---|
committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2017-02-20 22:58:08 +0000 |
commit | 969ad710baabec35df77ae8817e227937aa62601 (patch) | |
tree | 9d8ce36eab6d71fc9530c3da4b681452e1b35303 /src/common | |
parent | util: add a vercmp function to compare version numbers (diff) | |
download | monero-969ad710baabec35df77ae8817e227937aa62601.tar.xz |
dns_utils: fix first checked DNS entry being ignored
Diffstat (limited to 'src/common')
-rw-r--r-- | src/common/dns_utils.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/common/dns_utils.cpp b/src/common/dns_utils.cpp index 4feab16f3..f7655e3c7 100644 --- a/src/common/dns_utils.cpp +++ b/src/common/dns_utils.cpp @@ -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; |