diff options
author | Remko Tronçon <git@el-tramo.be> | 2009-07-26 15:06:11 (GMT) |
---|---|---|
committer | Remko Tronçon <git@el-tramo.be> | 2009-07-26 15:17:35 (GMT) |
commit | e7ab68e8daf120d932d9eefc9053e9e064ca29af (patch) | |
tree | 82d7b1c6073b69c8dc91f0d72f5a32a8e9a2a67c /Swiften/LinkLocal/LinkLocalServiceBrowser.cpp | |
parent | 26d623d3cfd8937fb52acf76ef33d230f5010538 (diff) | |
download | swift-e7ab68e8daf120d932d9eefc9053e9e064ca29af.zip swift-e7ab68e8daf120d932d9eefc9053e9e064ca29af.tar.bz2 |
Make DNSSD independent of LinkLocalServiceInfo.
Diffstat (limited to 'Swiften/LinkLocal/LinkLocalServiceBrowser.cpp')
-rw-r--r-- | Swiften/LinkLocal/LinkLocalServiceBrowser.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Swiften/LinkLocal/LinkLocalServiceBrowser.cpp b/Swiften/LinkLocal/LinkLocalServiceBrowser.cpp index aed917a..265acc1 100644 --- a/Swiften/LinkLocal/LinkLocalServiceBrowser.cpp +++ b/Swiften/LinkLocal/LinkLocalServiceBrowser.cpp @@ -57,7 +57,7 @@ bool LinkLocalServiceBrowser::isRegistered() const { void LinkLocalServiceBrowser::registerService(const String& name, int port, const LinkLocalServiceInfo& info) { assert(!registerQuery); - registerQuery = querier->createRegisterQuery(name, port, info); + registerQuery = querier->createRegisterQuery(name, port, info.toTXTRecord()); registerQuery->onRegisterFinished.connect( boost::bind(&LinkLocalServiceBrowser::handleRegisterFinished, this, _1)); registerQuery->registerService(); |