summaryrefslogtreecommitdiffstats
path: root/library/http
diff options
context:
space:
mode:
authorkjnash <k.j.nash@usa.net>2022-11-07 21:44:39 (GMT)
committerkjnash <k.j.nash@usa.net>2022-11-07 21:44:39 (GMT)
commit4c3d010bffd99f30596787903dfa04162f26c2b3 (patch)
tree71e1cfd8e41c0bef40830f30ba15158a840d62b0 /library/http
parentbf454b34d59371152ca527105f0908a4d29027f1 (diff)
downloadtcl-4c3d010bffd99f30596787903dfa04162f26c2b3.zip
tcl-4c3d010bffd99f30596787903dfa04162f26c2b3.tar.gz
tcl-4c3d010bffd99f30596787903dfa04162f26c2b3.tar.bz2
library/http/http.tcl - replace lremove with lreplace for compatibility with 8.6.
Diffstat (limited to 'library/http')
-rw-r--r--library/http/http.tcl2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/http/http.tcl b/library/http/http.tcl
index fcb03e1..bbde39d 100644
--- a/library/http/http.tcl
+++ b/library/http/http.tcl
@@ -4896,7 +4896,7 @@ proc http::SecureProxyConnect {args} {
# Extract (non-proxy) target from args.
set host [lindex $args end-3]
set port [lindex $args end-2]
- set args [lremove $args end-3 end-2]
+ set args [lreplace $args end-3 end-2]
# Proxy server URL for connection.
# This determines where the socket is opened.