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
- branch=trunk inherited from [a28c83647d]
- sym-trunk inherited from [a28c83647d]
- user=altufaltu added by [b384148b5c] on 2008-11-03 01:33:23
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;