diff options
Diffstat (limited to 'src/IO/http.c')
-rw-r--r-- | src/IO/http.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/IO/http.c b/src/IO/http.c index afeb6d71..56a1b3a8 100644 --- a/src/IO/http.c +++ b/src/IO/http.c @@ -82,10 +82,8 @@ int a_Http_init(void) if (env_proxy && strlen(env_proxy)) HTTP_Proxy = a_Url_new(env_proxy, NULL); - if (!HTTP_Proxy && prefs.http_proxy) { - HTTP_Proxy = a_Url_new(prefs.http_proxy, NULL); - setenv("http_proxy", URL_STR(HTTP_Proxy), 1); - } + if (!HTTP_Proxy && prefs.http_proxy) + HTTP_Proxy = a_Url_dup(prefs.http_proxy); /* This allows for storing the proxy password in "user:passwd" format * in dillorc, but as this constitutes a security problem, it was disabled. |