diff options
author | Remko Tronçon <git@el-tramo.be> | 2009-07-26 20:52:45 (GMT) |
---|---|---|
committer | Remko Tronçon <git@el-tramo.be> | 2009-07-26 20:52:45 (GMT) |
commit | 4e2cb67ac26ca338a4bd7676683186f543903c5a (patch) | |
tree | 87cfb196bdec4f0216b6d07a181abc9b7592ee4b | |
parent | 81ea0a6b0ea85c55c2f166b69da652aaab2ef79a (diff) | |
download | swift-4e2cb67ac26ca338a4bd7676683186f543903c5a.zip swift-4e2cb67ac26ca338a4bd7676683186f543903c5a.tar.bz2 |
Fix bonjour compilation.
-rw-r--r-- | Swiften/LinkLocal/DNSSD/Bonjour/BonjourRegisterQuery.h | 2 | ||||
-rw-r--r-- | Swiften/LinkLocal/DNSSD/Bonjour/BonjourResolveServiceQuery.h | 3 |
2 files changed, 2 insertions, 3 deletions
diff --git a/Swiften/LinkLocal/DNSSD/Bonjour/BonjourRegisterQuery.h b/Swiften/LinkLocal/DNSSD/Bonjour/BonjourRegisterQuery.h index c85b90f..34d5742 100644 --- a/Swiften/LinkLocal/DNSSD/Bonjour/BonjourRegisterQuery.h +++ b/Swiften/LinkLocal/DNSSD/Bonjour/BonjourRegisterQuery.h @@ -30,7 +30,7 @@ namespace Swift { } void unregisterService() { - stop(); + finish(); } void updateServiceInfo(const ByteArray& txtRecord) { diff --git a/Swiften/LinkLocal/DNSSD/Bonjour/BonjourResolveServiceQuery.h b/Swiften/LinkLocal/DNSSD/Bonjour/BonjourResolveServiceQuery.h index 8b3f7ec..d16ca5b 100644 --- a/Swiften/LinkLocal/DNSSD/Bonjour/BonjourResolveServiceQuery.h +++ b/Swiften/LinkLocal/DNSSD/Bonjour/BonjourResolveServiceQuery.h @@ -49,8 +49,7 @@ namespace Swift { boost::bind( boost::ref(onServiceResolved), Result(String(fullName), String(host), port, - LinkLocalServiceInfo::createFromTXTRecord( - ByteArray(reinterpret_cast<const char*>(txtRecord), txtLen)))), + ByteArray(reinterpret_cast<const char*>(txtRecord), txtLen))), shared_from_this()); } } |