aboutsummaryrefslogtreecommitdiffstats
path: root/protocols/proxy.c
diff options
context:
space:
mode:
authorWilmer van der Gaast <wilmer@gaast.net>2006-06-25 17:16:44 +0200
committerWilmer van der Gaast <wilmer@gaast.net>2006-06-25 17:16:44 +0200
commit4b1a75af236ad968346749d6115c785b74126f85 (patch)
tree67c50d75a0d5ced265549173fad4554c2a4c0ac8 /protocols/proxy.c
parent125b35db3243f55489a6e88efbdeeefc2c24018d (diff)
Disabling call to sethostent() because it causes major problems on OpenBSD
(and because I don't see any use for it anyway).
Diffstat (limited to 'protocols/proxy.c')
-rw-r--r--protocols/proxy.c4
1 files changed, 0 insertions, 4 deletions
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)