Mercurial > pidgin.yaz
changeset 27714:8b669aaa3ed7
Build fix on Windows. Thanks to SuperMMX.
I should probably set up a cross-compile env...
author | Paul Aurich <paul@darkrain42.org> |
---|---|
date | Mon, 20 Jul 2009 18:28:16 +0000 |
parents | cbf7072fb372 |
children | 6e952b8b3672 |
files | libpurple/dnsquery.c |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/libpurple/dnsquery.c Mon Jul 20 18:26:13 2009 +0000 +++ b/libpurple/dnsquery.c Mon Jul 20 18:28:16 2009 +0000 @@ -771,8 +771,8 @@ query_data = data; #ifdef USE_IDN - if (!dns_str_is_ascii(dns_params.hostname)) { - rc = purple_network_convert_idn_to_ascii(dns_params.hostname, &hostname); + if (!dns_str_is_ascii(query_data->hostname)) { + rc = purple_network_convert_idn_to_ascii(query_data->hostname, &hostname); if (rc != 0) { /* FIXME: Dirty 2.6.0 string freeze hack */ char tmp[8]; @@ -785,7 +785,7 @@ } } else /* intentional fallthru */ #endif - hostname = g_strdup(dns_params.hostname); + hostname = g_strdup(query_data->hostname); #ifdef HAVE_GETADDRINFO g_snprintf(servname, sizeof(servname), "%d", query_data->port);