changeset 2306:7973a8348d8b

[gaim-migrate @ 2316] hopefully this should make gethostbyname not take nearly as long committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Tue, 18 Sep 2001 22:27:41 +0000
parents 0371b905baef
children 64dd9e99884c
files src/proxy.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/proxy.c	Tue Sep 18 18:17:21 2001 +0000
+++ b/src/proxy.c	Tue Sep 18 22:27:41 2001 +0000
@@ -713,6 +713,8 @@
 		return -1;
 	}
 
+	sethostent(1);
+
 	if ((proxytype == PROXY_NONE) ||
 		 !proxyhost || !proxyhost[0] ||
 		 !proxyport || (proxyport == -1))