summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'Swiften/Network/PlatformDomainNameServiceQuery.cpp')
-rw-r--r--Swiften/Network/PlatformDomainNameServiceQuery.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/Swiften/Network/PlatformDomainNameServiceQuery.cpp b/Swiften/Network/PlatformDomainNameServiceQuery.cpp
index f884500..2ff14e1 100644
--- a/Swiften/Network/PlatformDomainNameServiceQuery.cpp
+++ b/Swiften/Network/PlatformDomainNameServiceQuery.cpp
@@ -1,5 +1,5 @@
1/* 1/*
2 * Copyright (c) 2010-2018 Isode Limited. 2 * Copyright (c) 2010-2019 Isode Limited.
3 * All rights reserved. 3 * All rights reserved.
4 * See the COPYING file for more information. 4 * See the COPYING file for more information.
5 */ 5 */
@@ -58,7 +58,7 @@ void PlatformDomainNameServiceQuery::runBlocking() {
58 return; 58 return;
59 } 59 }
60 60
61 SWIFT_LOG(debug) << "Querying " << service << std::endl; 61 SWIFT_LOG(debug) << "Querying " << service;
62 62
63 std::vector<DomainNameServiceQuery::Result> records; 63 std::vector<DomainNameServiceQuery::Result> records;
64 64
@@ -97,7 +97,7 @@ void PlatformDomainNameServiceQuery::runBlocking() {
97 response.resize(NS_PACKETSZ); 97 response.resize(NS_PACKETSZ);
98 int responseLength = res_query(const_cast<char*>(service.c_str()), ns_c_in, ns_t_srv, reinterpret_cast<u_char*>(vecptr(response)), response.size()); 98 int responseLength = res_query(const_cast<char*>(service.c_str()), ns_c_in, ns_t_srv, reinterpret_cast<u_char*>(vecptr(response)), response.size());
99 if (responseLength == -1) { 99 if (responseLength == -1) {
100 SWIFT_LOG(debug) << "Error" << std::endl; 100 SWIFT_LOG(debug) << "Error";
101 emitError(); 101 emitError();
102 return; 102 return;
103 } 103 }