Mercurial > pidgin
comparison src/protocols/simple/simple.c @ 14183:c3c792958635
[gaim-migrate @ 16835]
Change the DNS query function to return a struct that will eventually
allow the query to be canceled. Also rename two of the DNS query things
committer: Tailor Script <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Fri, 18 Aug 2006 07:40:17 +0000 |
parents | fc92a5a7dd95 |
children |
comparison
equal
deleted
inserted
replaced
14182:ccb670ba3b4f | 14183:c3c792958635 |
---|---|
1620 return; | 1620 return; |
1621 } | 1621 } |
1622 } else { /* UDP */ | 1622 } else { /* UDP */ |
1623 gaim_debug_info("simple", "using udp with server %s and port %d\n", hostname, port); | 1623 gaim_debug_info("simple", "using udp with server %s and port %d\n", hostname, port); |
1624 | 1624 |
1625 gaim_gethostbyname_async(hostname, port, simple_udp_host_resolved, sip); | 1625 gaim_dnsquery_a(hostname, port, simple_udp_host_resolved, sip); |
1626 } | 1626 } |
1627 } | 1627 } |
1628 | 1628 |
1629 static void simple_login(GaimAccount *account) | 1629 static void simple_login(GaimAccount *account) |
1630 { | 1630 { |