pidgin.vv: b49f5cf3: Don't forget to copy the rem_know attrib...

maiku at soc.pidgin.im maiku at soc.pidgin.im
Thu Mar 19 04:10:30 EDT 2009


-----------------------------------------------------------------
Revision: b49f5cf3e4cbddaefbdc8ad035d49a067443f872
Ancestor: 1028c2d493ce00b2e66919c173aad03875c2f81b
Author: maiku at soc.pidgin.im
Date: 2009-03-19T07:38:24
Branch: im.pidgin.pidgin.vv
URL: http://d.pidgin.im/viewmtn/revision/info/b49f5cf3e4cbddaefbdc8ad035d49a067443f872

Modified files:
        libpurple/protocols/jabber/jingle/iceudp.c
        libpurple/protocols/jabber/jingle/rawudp.h

ChangeLog: 

Don't forget to copy the rem_know attribute of IceUdp candidates.

Comments: 

And accidentally add the rem_known attribute that will be necessary for 
my next commit.

-------------- next part --------------
============================================================
--- libpurple/protocols/jabber/jingle/iceudp.c	d381ae5bfd793475ca90c4fc4e6ebdb6320e6e26
+++ libpurple/protocols/jabber/jingle/iceudp.c	3657e85f90363281bf07f6ce82f57fbc44147ae4
@@ -68,6 +68,8 @@ jingle_iceudp_candidate_copy(JingleIceUd
 	new_candidate->username = g_strdup(candidate->username);
 	new_candidate->password = g_strdup(candidate->password);
 
+	new_candidate->rem_known = candidate->rem_known;
+
 	return new_candidate;
 }
 
============================================================
--- libpurple/protocols/jabber/jingle/rawudp.h	04dff38367fea126f13e2e7008027406fc6caca6
+++ libpurple/protocols/jabber/jingle/rawudp.h	bd9b555c7363fa82f2c5aeccddc3227a2219fd16
@@ -68,6 +68,9 @@ struct _JingleRawUdpCandidate
 	gchar *id;
 	gchar *ip;
 	guint port;
+
+	gboolean rem_known;	/* TRUE if the remote side knows
+				 * about this candidate */
 };
 
 #ifdef __cplusplus


More information about the Commits mailing list