cpw.malu.xmpp.jingle_ft: 6afaac9d: Should not remove port mappings when on ...

malu at pidgin.im malu at pidgin.im
Fri Jan 15 16:55:27 EST 2010


-----------------------------------------------------------------
Revision: 6afaac9d584f1fa51533bde311ff64407125a1af
Ancestor: 9ac282bf2bcf7d0040f7ebafa8744db3b832e8cf
Author: malu at pidgin.im
Date: 2010-01-15T21:52:21
Branch: im.pidgin.cpw.malu.xmpp.jingle_ft
URL: http://d.pidgin.im/viewmtn/revision/info/6afaac9d584f1fa51533bde311ff64407125a1af

Modified files:
        libpurple/protocols/jabber/jingle/s5b.c

ChangeLog: 

Should not remove port mappings when on the controlling end of the transfer

-------------- next part --------------
============================================================
--- libpurple/protocols/jabber/jingle/s5b.c	c55cc9b83f2d81998fad2049fdd48b75560df9e0
+++ libpurple/protocols/jabber/jingle/s5b.c	7a483d706a1ca4aec679cf2ca3b0852c9bd1bbaf
@@ -569,12 +569,6 @@ jingle_s5b_take_command(JingleS5B *s5b)
 		purple_timeout_remove(s5b->priv->connect_timeout);
 		s5b->priv->connect_timeout = 0;
 	}
-
-	/* remove port mappings for assisted candidates */
-	if (s5b->priv->accepted_candidate->type != 
-		JINGLE_S5B_CANDIDATE_TYPE_ASSISTED) {
-		purple_network_remove_port_mapping(s5b->priv->local_fd);
-	}
 }
 
 void


More information about the Commits mailing list