cpw.malu.xmpp.jingle_ft: 6aa2aea0: Actually send the transport-replace when...

malu at pidgin.im malu at pidgin.im
Thu May 7 14:10:22 EDT 2009


-----------------------------------------------------------------
Revision: 6aa2aea0aca1c1ebba798176e4b69b4cf5b0ff97
Ancestor: 7d278213089d7bd61b8639bd2947b9d2820b048e
Author: malu at pidgin.im
Date: 2009-05-07T18:08:54
Branch: im.pidgin.cpw.malu.xmpp.jingle_ft
URL: http://d.pidgin.im/viewmtn/revision/info/6aa2aea0aca1c1ebba798176e4b69b4cf5b0ff97

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

ChangeLog: 

Actually send the transport-replace when offering fallback to IBB...
Should help :)

-------------- next part --------------
============================================================
--- libpurple/protocols/jabber/jingle/file-transfer.c	ddeb31a1be6c59a5129731948e358bd760cfe590
+++ libpurple/protocols/jabber/jingle/file-transfer.c	a9a557d63274169a24a22ccc73c59efc65ea9f4c
@@ -427,6 +427,7 @@ jingle_file_transfer_s5b_connect_failed_
 
 			transport_replace = 
 				jingle_session_to_packet(session, JINGLE_TRANSPORT_REPLACE);
+			jabber_iq_send(transport_replace);
 		} else {
 			/* the buddy doesn't support IBB, terminate it */
 			JabberStream *js = jingle_session_get_js(session);
@@ -443,10 +444,10 @@ jingle_file_transfer_s5b_connect_failed_
 			purple_xfer_cancel_remote(xfer);
 			
 			jabber_iq_send(session_terminate);
-			g_object_unref(session);
 		}
 		g_free(who);
 	}
+	g_object_unref(session);
 }
 
 


More information about the Commits mailing list