diff src/proxy.c @ 10307:2ac21bf20e04

[gaim-migrate @ 11497] And another one gone, and another one gone, another one bites the dust. Hopefully I'm committing everything this time. committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Fri, 03 Dec 2004 02:46:34 +0000
parents 9bfcb5eb12bd
children 19974fd2d61d
line wrap: on
line diff
--- a/src/proxy.c	Fri Dec 03 00:57:21 2004 +0000
+++ b/src/proxy.c	Fri Dec 03 02:46:34 2004 +0000
@@ -536,6 +536,9 @@
 	pending_dns_request_t *req = NULL;
 	dns_params_t dns_params;
 	gchar *host_temp;
+	gboolean show_debug;
+
+	show_debug = gaim_debug_is_enabled();
 
 	host_temp = g_strstrip(g_strdup(hostname));
 	strncpy(dns_params.hostname, host_temp, sizeof(dns_params.hostname) - 1);
@@ -600,7 +603,7 @@
 			close(child_out[0]);
 			close(child_in[1]);
 
-			gaim_dns_childthread(child_out[1], child_in[0], &dns_params, opt_debug);
+			gaim_dns_childthread(child_out[1], child_in[0], &dns_params, show_debug);
 			/* The thread calls _exit() rather than returning, so we never get here */
 		}