summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'Swiften/Network/PlatformDomainNameServiceQuery.cpp')
-rw-r--r--Swiften/Network/PlatformDomainNameServiceQuery.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/Swiften/Network/PlatformDomainNameServiceQuery.cpp b/Swiften/Network/PlatformDomainNameServiceQuery.cpp
index 13f5fc8..d6c87dc 100644
--- a/Swiften/Network/PlatformDomainNameServiceQuery.cpp
+++ b/Swiften/Network/PlatformDomainNameServiceQuery.cpp
@@ -81,6 +81,8 @@ void PlatformDomainNameServiceQuery::doRun() {
DnsRecordListFree(responses, DnsFreeRecordList);
#else
+ // Make sure we reinitialize the domain list every time
+ res_init();
std::cout << "SRV: Querying " << service << std::endl;
ByteArray response;