diff libpurple/dnssrv.c @ 28474:1c6c53143afe

dns: Avoid two warnings when building with --disable-idn.
author Paul Aurich <paul@darkrain42.org>
date Sat, 31 Oct 2009 22:25:22 +0000
parents e191f5fedce1
children 22a577a9f009
line wrap: on
line diff
--- a/libpurple/dnssrv.c	Sat Oct 31 19:23:14 2009 +0000
+++ b/libpurple/dnssrv.c	Sat Oct 31 22:25:22 2009 +0000
@@ -248,6 +248,7 @@
 	return list;
 }
 
+#ifdef USE_IDN
 static gboolean
 dns_str_is_ascii(const char *name)
 {
@@ -259,6 +260,7 @@
 
 	return TRUE;
 }
+#endif
 
 #ifndef _WIN32