diff src/stun.c @ 14164:879bb47cff8e

[gaim-migrate @ 16814] Revert SVN revision 16811. Kevin says it's crashing for him and I'm tired. committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Thu, 17 Aug 2006 10:04:21 +0000
parents c3167a1dd817
children fc92a5a7dd95
line wrap: on
line diff
--- a/src/stun.c	Thu Aug 17 07:44:52 2006 +0000
+++ b/src/stun.c	Thu Aug 17 10:04:21 2006 +0000
@@ -40,7 +40,6 @@
 
 #include "debug.h"
 #include "account.h"
-#include "dnsquery.h"
 #include "dnssrv.h"
 #include "network.h"
 #include "proxy.h"
@@ -360,7 +359,7 @@
 	gaim_debug_info("stun", "got %d SRV responses, server: %s, port: %d\n",
 		results, servername, port);
 
-	gaim_dnsquery_a(servername, port, hbn_cb, NULL);
+	gaim_gethostbyname_async(servername, port, hbn_cb, NULL);
 	g_free(resp);
 }