changeset 32373:cf70e3c23c9d

Fix compilation of Bonjour prpl on 3.0.
author andrew.victor@mxit.com
date Thu, 01 Dec 2011 20:11:42 +0000
parents 0734b9c8c345
children 7fb1283c859b
files libpurple/protocols/bonjour/bonjour_ft.c
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/protocols/bonjour/bonjour_ft.c	Wed Nov 30 01:16:33 2011 +0000
+++ b/libpurple/protocols/bonjour/bonjour_ft.c	Thu Dec 01 20:11:42 2011 +0000
@@ -554,9 +554,8 @@
 	const char *jid, *host, *port;
 	int portnum;
 	xmlnode *streamhost;
-	XepXfer *xf = NULL;
+	XepXfer *xf = purple_xfer_get_protocol_data(xfer);
 
-	xf = (XepXfer*)xfer->data;
 	for(streamhost = xmlnode_get_child(query, "streamhost");
 			streamhost;
 			streamhost = xmlnode_get_next_twin(streamhost)) {