diff libpurple/dnsquery.c @ 29502:0aac63e8489f

propagate from branch 'im.pidgin.pidgin' (head 84b4f3d9c0a8e1306eb70e9db0003177e2782269) to branch 'im.pidgin.pidgin.next.minor' (head ff2751f3bf0343a572e3ab437dd01ff6efbaf336)
author John Bailey <rekkanoryo@rekkanoryo.org>
date Wed, 16 Sep 2009 16:25:59 +0000
parents 4e13885b1a6a
children 057372f5c319
line wrap: on
line diff
--- a/libpurple/dnsquery.c	Wed Sep 16 16:11:01 2009 +0000
+++ b/libpurple/dnsquery.c	Wed Sep 16 16:25:59 2009 +0000
@@ -172,6 +172,7 @@
 	return FALSE;
 }
 
+#ifdef USE_IDN
 static gboolean
 dns_str_is_ascii(const char *name)
 {
@@ -183,6 +184,7 @@
 
 	return TRUE;
 }
+#endif
 
 #if defined(PURPLE_DNSQUERY_USE_FORK)