summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Swift/Translations/swift_sv.ts (renamed from Swift/Translations/swift_se.ts)0
-rw-r--r--Swiften/Network/PlatformDomainNameServiceQuery.cpp2
2 files changed, 1 insertions, 1 deletions
diff --git a/Swift/Translations/swift_se.ts b/Swift/Translations/swift_sv.ts
index fdd0c98..fdd0c98 100644
--- a/Swift/Translations/swift_se.ts
+++ b/Swift/Translations/swift_sv.ts
diff --git a/Swiften/Network/PlatformDomainNameServiceQuery.cpp b/Swiften/Network/PlatformDomainNameServiceQuery.cpp
index 24adde5..7d8074d 100644
--- a/Swiften/Network/PlatformDomainNameServiceQuery.cpp
+++ b/Swiften/Network/PlatformDomainNameServiceQuery.cpp
@@ -160,7 +160,7 @@ void PlatformDomainNameServiceQuery::runBlocking() {
std::sort(records.begin(), records.end(), ResultPriorityComparator());
//std::cout << "Sending out " << records.size() << " SRV results " << std::endl;
- eventLoop->postEvent(boost::bind(boost::ref(onResult), records));
+ eventLoop->postEvent(boost::bind(boost::ref(onResult), records), shared_from_this());
}
void PlatformDomainNameServiceQuery::emitError() {