Check-in [d65d619d94]
Not logged in
Overview

SHA1 Hash:d65d619d948dcb70fc9cf210b128e5b009d4ea1b
Date: 2008-10-25 17:19:13
Edited User: altufaltu
Original User: a0756885
Comment:Update conditions when to look for proxy URL in environment.
Timelines: ancestors | descendants | both | trunk
Other Links: files | ZIP archive | manifest

Tags And Properties
Changes
[hide diffs]

Modified src/url.c from [e9070b5fce] to [ab868aa832].

@@ -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]==0 || is_truth(zProxy) ){
       zProxy = getenv("http_proxy");
     }
   }
   if( zProxy && zProxy[0] && !is_false(zProxy) ){
     char *zOriginalUrl = g.urlCanonical;