From 4b1a75af236ad968346749d6115c785b74126f85 Mon Sep 17 00:00:00 2001 From: Wilmer van der Gaast Date: Sun, 25 Jun 2006 17:16:44 +0200 Subject: Disabling call to sethostent() because it causes major problems on OpenBSD (and because I don't see any use for it anyway). --- protocols/proxy.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'protocols') diff --git a/protocols/proxy.c b/protocols/proxy.c index b8aa304d..70a2158d 100644 --- a/protocols/proxy.c +++ b/protocols/proxy.c @@ -537,10 +537,6 @@ int proxy_connect(const char *host, int port, b_event_handler func, gpointer dat phb->func = func; phb->data = data; -#ifndef _WIN32 - sethostent(1); -#endif - if ((proxytype == PROXY_NONE) || !proxyhost || !proxyhost[0] || !proxyport || (proxyport == -1)) return proxy_connect_none(host, port, phb); else if (proxytype == PROXY_HTTP) -- cgit v1.2.3