From 110195a864976da5de1802e2a5d984f92c9188f7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Remko=20Tron=C3=A7on?= <git@el-tramo.be>
Date: Fri, 6 May 2011 08:28:27 +0200
Subject: Fixed Avahi compilation for real now.


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