summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemko Tronçon <git@el-tramo.be>2011-05-06 06:28:27 (GMT)
committerRemko Tronçon <git@el-tramo.be>2011-05-06 06:28:27 (GMT)
commit110195a864976da5de1802e2a5d984f92c9188f7 (patch)
tree558cf87d89a4cdd34bd6047f21994d46f7608f3a /Swiften/LinkLocal/DNSSD/Avahi
parentcc333c83f57b98d634a0b5ba050de78be91c1903 (diff)
downloadswift-110195a864976da5de1802e2a5d984f92c9188f7.zip
swift-110195a864976da5de1802e2a5d984f92c9188f7.tar.bz2
Fixed Avahi compilation for real now.
Diffstat (limited to 'Swiften/LinkLocal/DNSSD/Avahi')
-rw-r--r--Swiften/LinkLocal/DNSSD/Avahi/AvahiResolveServiceQuery.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Swiften/LinkLocal/DNSSD/Avahi/AvahiResolveServiceQuery.cpp b/Swiften/LinkLocal/DNSSD/Avahi/AvahiResolveServiceQuery.cpp
index 24fe067..ebd2329 100644
--- a/Swiften/LinkLocal/DNSSD/Avahi/AvahiResolveServiceQuery.cpp
+++ b/Swiften/LinkLocal/DNSSD/Avahi/AvahiResolveServiceQuery.cpp
@@ -47,7 +47,7 @@ void AvahiResolveServiceQuery::handleServiceResolved(AvahiServiceResolver* resol
ByteArray txtRecord;
txtRecord.resize(1024);
- avahi_string_list_serialize(txt, txtRecord.getData(), txtRecord.getSize());
+ avahi_string_list_serialize(txt, vecptr(txtRecord), txtRecord.size());
// FIXME: Probably not accurate
std::string fullname = std::string(name) + "." + std::string(type) + "." + std::string(domain) + ".";