Mon, 28 Sep 2009 02:30:09 +0000
Fix a string now that we're not in string freeze. Thanks, QuLogic!
| libpurple/dnsquery.c | file | annotate | diff | comparison | revisions |
--- a/libpurple/dnsquery.c Sat Sep 26 17:38:05 2009 +0000 +++ b/libpurple/dnsquery.c Mon Sep 28 02:30:09 2009 +0000 @@ -774,11 +774,8 @@ 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]; - g_snprintf(tmp, sizeof(tmp), "%d", rc); - query_data->error_message = g_strdup_printf(_("Error resolving %s:\n%s"), - query_data->hostname, tmp); + query_data->error_message = g_strdup_printf(_("Error converting %s " + "to punycode: %d"), query_data->hostname, rc); /* back to main thread */ purple_timeout_add(0, dns_main_thread_cb, query_data); return 0;