changeset 264:d2f65cd528c6

urllog: Change 'http_proxy' variable to 'http_use_proxy'
author Matti Hamalainen <ccr@tnsp.org>
date Fri, 23 Jan 2015 10:07:15 +0200
parents f01d60175c44
children 908edc54005a
files config.urllog.example urllog.tcl
diffstat 2 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/config.urllog.example	Fri Jan 23 10:05:46 2015 +0200
+++ b/config.urllog.example	Fri Jan 23 10:07:15 2015 +0200
@@ -9,7 +9,7 @@
 ###
 # Set to 1 if you want to enable use of HTTP proxy.
 # If you do, you MUST set the proxy settings below too.
-set http_proxy 0
+set http_use_proxy 0
 
 # Proxy host and port number (only used if enabled above)
 set http_proxy_host ""
--- a/urllog.tcl	Fri Jan 23 10:05:46 2015 +0200
+++ b/urllog.tcl	Fri Jan 23 10:07:15 2015 +0200
@@ -65,7 +65,7 @@
 
 ### HTTP module initialization
 ::http::config -useragent "$urllog_name/$urllog_version"
-if {$http_proxy != 0} {
+if {$http_use_proxy != 0} {
   ::http::config -proxyhost $http_proxy_host -proxyport $http_proxy_port
 }
 
@@ -81,7 +81,7 @@
 }
 
 
-if {$http_proxy != 0} {
+if {$http_use_proxy != 0} {
   putlog " (Using proxy $http_proxy_host:$http_proxy_port)"
 }