aboutsummaryrefslogtreecommitdiff
path: root/src/common/dns_utils.cpp
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2017-02-16 23:29:29 +0000
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2017-02-20 22:58:08 +0000
commit969ad710baabec35df77ae8817e227937aa62601 (patch)
tree9d8ce36eab6d71fc9530c3da4b681452e1b35303 /src/common/dns_utils.cpp
parentutil: add a vercmp function to compare version numbers (diff)
downloadmonero-969ad710baabec35df77ae8817e227937aa62601.tar.xz
dns_utils: fix first checked DNS entry being ignored
Diffstat (limited to '')
-rw-r--r--src/common/dns_utils.cpp1
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;