--- a/src/proxy.c Thu Jan 20 14:51:24 2005 -0500
+++ b/src/proxy.c Thu Jan 20 15:57:50 2005 -0500
@@ -1562,7 +1562,7 @@
if (gaim_proxy_info_get_type(phb->gpi) == GAIM_PROXY_USE_ENVVAR) {
if ((tmp = g_getenv("HTTP_PROXY")) != NULL ||
(tmp = g_getenv("http_proxy")) != NULL ||
- (tmp= g_getenv("HTTPPROXY")) != NULL) {
+ (tmp = g_getenv("HTTPPROXY")) != NULL) { char *proxyhost,*proxypath,*proxyuser,*proxypasswd;
@@ -1591,6 +1591,10 @@
gaim_proxy_info_set_port(phb->gpi, proxyport);
+ /* no proxy environment variable found, don't use a proxy */ + gaim_debug_info("proxy", "No environment settings found, not using a proxy\n"); + gaim_proxy_info_set_type(phb->gpi, GAIM_PROXY_NONE); /* XXX: Do we want to skip this step if user/password were part of url? */