Mercurial > pidgin.yaz
comparison 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 |
comparison
equal
deleted
inserted
replaced
28635:0e4b43fc68c0 | 29502:0aac63e8489f |
---|---|
170 } | 170 } |
171 | 171 |
172 return FALSE; | 172 return FALSE; |
173 } | 173 } |
174 | 174 |
175 #ifdef USE_IDN | |
175 static gboolean | 176 static gboolean |
176 dns_str_is_ascii(const char *name) | 177 dns_str_is_ascii(const char *name) |
177 { | 178 { |
178 guchar *c; | 179 guchar *c; |
179 for (c = (guchar *)name; c && *c; ++c) { | 180 for (c = (guchar *)name; c && *c; ++c) { |
181 return FALSE; | 182 return FALSE; |
182 } | 183 } |
183 | 184 |
184 return TRUE; | 185 return TRUE; |
185 } | 186 } |
187 #endif | |
186 | 188 |
187 #if defined(PURPLE_DNSQUERY_USE_FORK) | 189 #if defined(PURPLE_DNSQUERY_USE_FORK) |
188 | 190 |
189 /* | 191 /* |
190 * Unix! | 192 * Unix! |