Mercurial > pidgin
diff libpurple/protocols/jabber/google/jingleinfo.c @ 31481:b671728e6ee9
Use the new account-contextual DNS API everywhere. Refs #11110
author | Daniel Atallah <daniel.atallah@gmail.com> |
---|---|
date | Tue, 19 Apr 2011 05:05:25 +0000 |
parents | a8cc50c2279f |
children | f22bc8b5b9dc |
line wrap: on
line diff
--- a/libpurple/protocols/jabber/google/jingleinfo.c Tue Apr 19 04:59:30 2011 +0000 +++ b/libpurple/protocols/jabber/google/jingleinfo.c Tue Apr 19 05:05:25 2011 +0000 @@ -109,13 +109,15 @@ const gchar *udp = xmlnode_get_attrib(server, "udp"); if (host && udp) { + PurpleAccount *account; int port = atoi(udp); /* if there, would already be an ongoing query, cancel it */ if (js->stun_query) purple_dnsquery_destroy(js->stun_query); - js->stun_query = purple_dnsquery_a(host, port, + account = purple_connection_get_account(js->gc); + js->stun_query = purple_dnsquery_a_account(account, host, port, jabber_google_stun_lookup_cb, js); } }