pidgin: e1dd2131: Fix compilation of Bonjour prpl on 3.0.

andrew.victor at mxit.com andrew.victor at mxit.com
Thu Dec 1 15:15:43 EST 2011


----------------------------------------------------------------------
Revision: e1dd2131481956783d4d7f4c23da4bcc1c8f0e52
Parent:   f3088ea51dd68ff6f6d9cce7eb8417090ac3a342
Author:   andrew.victor at mxit.com
Date:     12/01/11 15:11:42
Branch:   im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/e1dd2131481956783d4d7f4c23da4bcc1c8f0e52

Changelog: 

Fix compilation of Bonjour prpl on 3.0.


Changes against parent f3088ea51dd68ff6f6d9cce7eb8417090ac3a342

  patched  libpurple/protocols/bonjour/bonjour_ft.c

-------------- next part --------------
============================================================
--- libpurple/protocols/bonjour/bonjour_ft.c	add6e4f4d9d98cf3ab5cd50a223a3c5841035ae2
+++ libpurple/protocols/bonjour/bonjour_ft.c	64c2e3c77a0e5f80fcb86bdcb2beb77e0862e82d
@@ -554,9 +554,8 @@ __xep_bytestreams_parse(PurpleBuddy *pb,
 	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)) {


More information about the Commits mailing list