diff options
author | Wilmer van der Gaast <wilmer@gaast.net> | 2006-06-25 21:43:14 +0200 |
---|---|---|
committer | Wilmer van der Gaast <wilmer@gaast.net> | 2006-06-25 21:43:14 +0200 |
commit | fd037705664ea03d7a0574c44161ae03b000fb2c (patch) | |
tree | 9a0ab46f16689de3005500db479fab7ab4ee5d95 /lib/proxy.c | |
parent | 6ee9d2d65ec05d3871e69c2b03b860c6bdd509e9 (diff) | |
parent | 9b63df67847e72abb00246fdfc82830137153c3c (diff) |
Merging from devel/Jelmer.
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) |