pidgin.next.minor: 7c03d797: dns_str_is_ascii() is only used if USE_I...

datallah at pidgin.im datallah at pidgin.im
Thu Sep 3 23:01:27 EDT 2009


-----------------------------------------------------------------
Revision: 7c03d7975e260b38f1f4a0f1d9c39905e235b8d5
Ancestor: f94a8394fdc4dfeca3487fdd7650fb5ec67919db
Author: datallah at pidgin.im
Date: 2009-09-04T02:49:15
Branch: im.pidgin.pidgin.next.minor
URL: http://d.pidgin.im/viewmtn/revision/info/7c03d7975e260b38f1f4a0f1d9c39905e235b8d5

Modified files:
        libpurple/dnsquery.c libpurple/dnssrv.c

ChangeLog: 

dns_str_is_ascii() is only used if USE_IDN is defined

-------------- next part --------------
============================================================
--- libpurple/dnsquery.c	f48c115bd2165c4a63a1f9b47ccc459c748bf4ba
+++ libpurple/dnsquery.c	53425e547168c0c48a8ee0fde881e658e193e1c6
@@ -172,6 +172,7 @@ resolve_ip(PurpleDnsQueryData *query_dat
 	return FALSE;
 }
 
+#ifdef USE_IDN
 static gboolean
 dns_str_is_ascii(const char *name)
 {
@@ -183,6 +184,7 @@ dns_str_is_ascii(const char *name)
 
 	return TRUE;
 }
+#endif
 
 #if defined(PURPLE_DNSQUERY_USE_FORK)
 
============================================================
--- libpurple/dnssrv.c	79c499e88003feb8282776bee5347cd1589f6aa5
+++ libpurple/dnssrv.c	e82bf587a84949403337a61a9cdf66a55857382f
@@ -248,6 +248,7 @@ purple_srv_sort(GList *list)
 	return list;
 }
 
+#ifdef USE_IDN
 static gboolean
 dns_str_is_ascii(const char *name)
 {
@@ -259,6 +260,7 @@ dns_str_is_ascii(const char *name)
 
 	return TRUE;
 }
+#endif
 
 #ifndef _WIN32
 


More information about the Commits mailing list