diff options
author | Tobias Markmann <tm@ayena.de> | 2014-10-21 21:36:09 (GMT) |
---|---|---|
committer | Tobias Markmann <tm@ayena.de> | 2014-10-21 21:46:41 (GMT) |
commit | e96118247793fdf4b40dc61d7ebd2c19a64939a3 (patch) | |
tree | 8737469cdb11ddf4ad5dc333ff87055548778cc9 /Swiften/QA | |
parent | ddebccbd59dd9cbd0c61efe55a09d74df8ec83c8 (diff) | |
download | swift-e96118247793fdf4b40dc61d7ebd2c19a64939a3.zip swift-e96118247793fdf4b40dc61d7ebd2c19a64939a3.tar.bz2 |
Fix libunbound support in Swiften which was broken since API change in 8ec22a9.
Test-Information:
Build for Android 4.3 (arm) and successfully ran checker in emulator VM.
Change-Id: Iedaae5df367ee86bfe2375879b0e0981deef9b0a
Diffstat (limited to 'Swiften/QA')
-rw-r--r-- | Swiften/QA/NetworkTest/DomainNameResolverTest.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Swiften/QA/NetworkTest/DomainNameResolverTest.cpp b/Swiften/QA/NetworkTest/DomainNameResolverTest.cpp index 6d25f49..dcd2be8 100644 --- a/Swiften/QA/NetworkTest/DomainNameResolverTest.cpp +++ b/Swiften/QA/NetworkTest/DomainNameResolverTest.cpp @@ -55,10 +55,10 @@ class DomainNameResolverTest : public CppUnit::TestFixture { void setUp() { ioServiceThread = new BoostIOServiceThread(); eventLoop = new DummyEventLoop(); + idnConverter = boost::shared_ptr<IDNConverter>(PlatformIDNConverter::create()); #ifdef USE_UNBOUND - resolver = new UnboundDomainNameResolver(ioServiceThread->getIOService(), eventLoop); + resolver = new UnboundDomainNameResolver(idnConverter.get(), ioServiceThread->getIOService(), eventLoop); #else - idnConverter = boost::shared_ptr<IDNConverter>(PlatformIDNConverter::create()); resolver = new PlatformDomainNameResolver(idnConverter.get(), eventLoop); #endif resultsAvailable = false; |