changeset 654:10ea2c1101b3

urllog: Cleanup.
author Matti Hamalainen <ccr@tnsp.org>
date Wed, 17 Feb 2021 12:10:14 +0200
parents 96a659f66be9
children 4b985abf5aba
files urllog.tcl
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/urllog.tcl	Wed Feb 17 11:09:50 2021 +0200
+++ b/urllog.tcl	Wed Feb 17 12:10:14 2021 +0200
@@ -658,12 +658,12 @@
 if {[info exists http_user_agent] && $http_user_agent != ""} {
   ::http::config -useragent $http_user_agent
 } else {
-  ::http::config -useragent "$urllog_name/$urllog_version"
+  ::http::config -useragent "${urllog_name}/${urllog_version}"
 }
 
 if {[info exists http_use_proxy] && $http_use_proxy != 0} {
   ::http::config -proxyhost $http_proxy_host -proxyport $http_proxy_port
-  putlog " - Using proxy $http_proxy_host:$http_proxy_port"
+  putlog " - Using proxy ${http_proxy_host}:${http_proxy_port}"
 }
 
 if {[info exists http_tls_support] && $http_tls_support != 0} {