From 4e2cb67ac26ca338a4bd7676683186f543903c5a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Remko=20Tron=C3=A7on?= <git@el-tramo.be>
Date: Sun, 26 Jul 2009 22:52:45 +0200
Subject: Fix bonjour compilation.


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());
 				}
 			}
-- 
cgit v0.10.2-6-g49f6