pidgin: 869046ae: jabber: priority is called preference in...

malu at pidgin.im malu at pidgin.im
Sat Sep 4 13:55:49 EDT 2010


----------------------------------------------------------------------
Revision: 869046ae8047810bc7364fdf203146b14de21082
Parent:   1fe5329935f43a65155a01681228bdab48f3b48b
Author:   malu at pidgin.im
Date:     09/04/10 13:47:46
Branch:   im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/869046ae8047810bc7364fdf203146b14de21082

Changelog: 

jabber: priority is called preference in Google mode

Changes against parent 1fe5329935f43a65155a01681228bdab48f3b48b

  patched  libpurple/protocols/jabber/google/google_session.c

-------------- next part --------------
============================================================
--- libpurple/protocols/jabber/google/google_session.c	1c1dac85a6116573eefc071d07d529e9e3fe8886
+++ libpurple/protocols/jabber/google/google_session.c	ee8dd21fe39aaad285904d5727999cbd10b4b767
@@ -543,12 +543,12 @@ google_session_handle_candidates(JabberS
 		const gchar *protocol = xmlnode_get_attrib(cand, "protocol");
 		const gchar *address = xmlnode_get_attrib(cand, "address");
 		const gchar *port = xmlnode_get_attrib(cand, "port");
-		const gchar *priority = xmlnode_get_attrib(cand, "priority");
+		const gchar *preference = xmlnode_get_attrib(cand, "preference");
 		guint component_id;
 
 		if (cname && type && address && port) {
 			PurpleMediaCandidateType candidate_type;
-			guint prio = priority ? atof(priority) * 1000 : 0;
+			guint prio = preference ? atof(preference) * 1000 : 0;
 			
 			g_snprintf(n, sizeof(n), "S%d", name++);
 			


More information about the Commits mailing list