Mercurial > pidgin.yaz
comparison libpurple/protocols/simple/simple.c @ 32474:f22bc8b5b9dc
Replace purple_dnsquery_a_account with purple_dnsquery_a.
author | Elliott Sales de Andrade <qulogic@pidgin.im> |
---|---|
date | Fri, 02 Sep 2011 01:57:25 +0000 |
parents | dfe284205c32 |
children | efe38e6319f2 |
comparison
equal
deleted
inserted
replaced
32473:3340d322c8f8 | 32474:f22bc8b5b9dc |
---|---|
1902 return; | 1902 return; |
1903 } | 1903 } |
1904 } else { /* UDP */ | 1904 } else { /* UDP */ |
1905 purple_debug_info("simple", "using udp with server %s and port %d\n", hostname, port); | 1905 purple_debug_info("simple", "using udp with server %s and port %d\n", hostname, port); |
1906 | 1906 |
1907 sip->query_data = purple_dnsquery_a_account(sip->account, hostname, | 1907 sip->query_data = purple_dnsquery_a(sip->account, hostname, |
1908 port, simple_udp_host_resolved, sip); | 1908 port, simple_udp_host_resolved, sip); |
1909 if (sip->query_data == NULL) { | 1909 if (sip->query_data == NULL) { |
1910 purple_connection_error(sip->gc, | 1910 purple_connection_error(sip->gc, |
1911 PURPLE_CONNECTION_ERROR_NETWORK_ERROR, | 1911 PURPLE_CONNECTION_ERROR_NETWORK_ERROR, |
1912 _("Unable to resolve hostname")); | 1912 _("Unable to resolve hostname")); |