summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'Swiften/LinkLocal/DNSSD')
-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) + ".";