diff options
author | Marcus Lundblad <malu@pidgin.im> | 2010-09-04 17:47:46 +0000 |
---|---|---|
committer | Marcus Lundblad <malu@pidgin.im> | 2010-09-04 17:47:46 +0000 |
commit | e736e376d9c8a3b4d4cb3fe14966912de2e3a636 (patch) | |
tree | 10db46a32ecf1766119f29fb916ed82320b0cc74 | |
parent | 0d1e8924dc8f41ebf23063e93b171f26f40dcd44 (diff) | |
download | pidgin-e736e376d9c8a3b4d4cb3fe14966912de2e3a636.tar.gz |
jabber: priority is called preference in Google mode
-rw-r--r-- | libpurple/protocols/jabber/google/google_session.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libpurple/protocols/jabber/google/google_session.c b/libpurple/protocols/jabber/google/google_session.c index b91a275f7f..95a34fe0b5 100644 --- a/libpurple/protocols/jabber/google/google_session.c +++ b/libpurple/protocols/jabber/google/google_session.c @@ -543,12 +543,12 @@ google_session_handle_candidates(JabberStream *js, GoogleSession *session, xmln 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++); |