summaryrefslogtreecommitdiffstats
path: root/library/http/http.tcl
diff options
context:
space:
mode:
authorhobbs <hobbs>1999-10-05 22:46:00 (GMT)
committerhobbs <hobbs>1999-10-05 22:46:00 (GMT)
commit25e723296d7e7b8473d6f19523593ac24f07a3dd (patch)
treeec562e261d4cb4ba1b78e98acece1aec057a6c30 /library/http/http.tcl
parent913f582a55cc0f46e998c26b99c36f5585e7c1e2 (diff)
downloadtcl-25e723296d7e7b8473d6f19523593ac24f07a3dd.zip
tcl-25e723296d7e7b8473d6f19523593ac24f07a3dd.tar.gz
tcl-25e723296d7e7b8473d6f19523593ac24f07a3dd.tar.bz2
* library/http2.1/http.tcl: fixed possible use of global c var.
Diffstat (limited to 'library/http/http.tcl')
-rw-r--r--library/http/http.tcl7
1 files changed, 3 insertions, 4 deletions
diff --git a/library/http/http.tcl b/library/http/http.tcl
index c59f4a5..c4da3d7 100644
--- a/library/http/http.tcl
+++ b/library/http/http.tcl
@@ -9,13 +9,12 @@
# See the file "license.terms" for information on usage and
# redistribution of this file, and for a DISCLAIMER OF ALL WARRANTIES.
#
-# RCS: @(#) $Id: http.tcl,v 1.10 1999/08/19 02:59:45 hobbs Exp $
+# RCS: @(#) $Id: http.tcl,v 1.11 1999/10/05 22:46:00 hobbs Exp $
package provide http 2.1 ;# This uses Tcl namespaces
namespace eval http {
variable http
-
array set http {
-accept */*
-proxyhost {}
@@ -25,8 +24,8 @@ namespace eval http {
}
variable formMap
- set alphanumeric a-zA-Z0-9
-
+ variable alphanumeric a-zA-Z0-9
+ variable c
variable i 0
for {} {$i <= 256} {incr i} {
set c [format %c $i]