diff options
Diffstat (limited to 'lib/proxy.c')
-rw-r--r-- | lib/proxy.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/proxy.c b/lib/proxy.c index 453cde91..7911b06f 100644 --- a/lib/proxy.c +++ b/lib/proxy.c @@ -538,10 +538,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) |