Check-in [d8bf311336]
Not logged in
Overview

SHA1 Hash:d8bf3113362d4b8baada2b029966dada998a1314
Date: 2008-10-25 14:29:44
Edited User: altufaltu
Original User: a0756885
Comment:Fix an issue that sets proxy = getenv(http_proxy) even when global proxy option is disabled
Timelines: ancestors | descendants | both | trunk
Other Links: files | ZIP archive | manifest

Tags And Properties
Changes
[hide diffs]

Modified src/url.c from [228859a2f1] to [e9070b5fce].

@@ -160,11 +160,11 @@
 void url_enable_proxy(const char *zMsg){
   const char *zProxy;
   zProxy = zProxyOpt;
   if( zProxy==0 ){
     zProxy = db_get("proxy", 0);
-    if( zProxy==0 || zProxy[0] || is_false(zProxy) ){
+    if( zProxy==0 || zProxy[0] || !is_false(zProxy) ){
       zProxy = getenv("http_proxy");
     }
   }
   if( zProxy && zProxy[0] && !is_false(zProxy) ){
     char *zOriginalUrl = g.urlCanonical;