cpw.malu.xmpp.jingle_ft: de814dce: Removed some unnessesary code (that I al...

malu at pidgin.im malu at pidgin.im
Tue Mar 17 16:05:36 EDT 2009


-----------------------------------------------------------------
Revision: de814dceda0f609b66da042d8eafd9c0e9b39ac2
Ancestor: 7ad65bd74c75e6f95a05ba952e36637a84866236
Author: malu at pidgin.im
Date: 2009-03-17T20:01:56
Branch: im.pidgin.cpw.malu.xmpp.jingle_ft
URL: http://d.pidgin.im/viewmtn/revision/info/de814dceda0f609b66da042d8eafd9c0e9b39ac2

Modified files:
        libpurple/protocols/jabber/jingle/file-transfer.c

ChangeLog: 

Removed some unnessesary code (that I also think made a leak)

-------------- next part --------------
============================================================
--- libpurple/protocols/jabber/jingle/file-transfer.c	74f5099cff4a9d6a86d493f1433fb5cf7ee73101
+++ libpurple/protocols/jabber/jingle/file-transfer.c	7886e9603353bd1df05f340d8e3d1250b44b92d9
@@ -478,12 +478,9 @@ jingle_file_transfer_handle_action_inter
 
 				if (file)
 					xfer = jabber_xfer_create_from_xml(js->gc->account, file, 
-						who, session);
+						who, content);
 				if (xfer) {
-					GList *contents = jingle_session_get_contents(session);
-					JingleContent *content = (JingleContent *) contents->data;
 					JINGLE_FT_GET_PRIVATE(JINGLE_FT(content))->xfer = xfer;
-					xfer->data = content;
 					/* setup callbacks */
 					purple_xfer_set_init_fnc(xfer, 
 						jingle_file_transfer_xfer_init);


More information about the Commits mailing list