Mercurial > pidgin
comparison libpurple/dnssrv.c @ 29217:fd2afe1b2d3c
propagate from branch 'im.pidgin.pidgin' (head af00ae634db8d99b296a90e1e0777bd23bd4df6a)
to branch 'im.pidgin.pidgin.next.minor' (head fa239a2e49b49a05b3c8612ea2e2580e7286ac63)
author | John Bailey <rekkanoryo@rekkanoryo.org> |
---|---|
date | Thu, 15 Oct 2009 10:45:22 +0000 |
parents | e191f5fedce1 2cc15ca3c26d |
children | 3c9534e77ea1 |
comparison
equal
deleted
inserted
replaced
28384:29e96fb6cff3 | 29217:fd2afe1b2d3c |
---|---|
246 } | 246 } |
247 | 247 |
248 return list; | 248 return list; |
249 } | 249 } |
250 | 250 |
251 #ifdef USE_IDN | |
251 static gboolean | 252 static gboolean |
252 dns_str_is_ascii(const char *name) | 253 dns_str_is_ascii(const char *name) |
253 { | 254 { |
254 guchar *c; | 255 guchar *c; |
255 for (c = (guchar *)name; c && *c; ++c) { | 256 for (c = (guchar *)name; c && *c; ++c) { |
257 return FALSE; | 258 return FALSE; |
258 } | 259 } |
259 | 260 |
260 return TRUE; | 261 return TRUE; |
261 } | 262 } |
263 #endif | |
262 | 264 |
263 #ifndef _WIN32 | 265 #ifndef _WIN32 |
264 | 266 |
265 G_GNUC_NORETURN static void | 267 G_GNUC_NORETURN static void |
266 resolve(int in, int out) | 268 resolve(int in, int out) |