changeset 26294:1ac93927e7f5

Don't forget to copy the rem_know attribute of IceUdp candidates.
author Mike Ruprecht <maiku@soc.pidgin.im>
date Thu, 19 Mar 2009 07:38:24 +0000
parents 06693083f668
children 5631378c68c8
files libpurple/protocols/jabber/jingle/iceudp.c libpurple/protocols/jabber/jingle/rawudp.h
diffstat 2 files changed, 5 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/protocols/jabber/jingle/iceudp.c	Thu Mar 19 07:34:25 2009 +0000
+++ b/libpurple/protocols/jabber/jingle/iceudp.c	Thu Mar 19 07:38:24 2009 +0000
@@ -68,6 +68,8 @@
 	new_candidate->username = g_strdup(candidate->username);
 	new_candidate->password = g_strdup(candidate->password);
 
+	new_candidate->rem_known = candidate->rem_known;
+
 	return new_candidate;
 }
 
--- a/libpurple/protocols/jabber/jingle/rawudp.h	Thu Mar 19 07:34:25 2009 +0000
+++ b/libpurple/protocols/jabber/jingle/rawudp.h	Thu Mar 19 07:38:24 2009 +0000
@@ -68,6 +68,9 @@
 	gchar *id;
 	gchar *ip;
 	guint port;
+
+	gboolean rem_known;	/* TRUE if the remote side knows
+				 * about this candidate */
 };
 
 #ifdef __cplusplus