summaryrefslogtreecommitdiffstats
path: root/library/http
diff options
context:
space:
mode:
authordkf <donal.k.fellows@manchester.ac.uk>2002-10-03 13:34:30 (GMT)
committerdkf <donal.k.fellows@manchester.ac.uk>2002-10-03 13:34:30 (GMT)
commitab7c4df02b91f86fd42936b1c44f131bf042fb3f (patch)
tree9c39f7a0b3f113c68393d56cb15a4e054d19cd2e /library/http
parent28533d82ea038848d80fe995d9a992401a77945f (diff)
downloadtcl-ab7c4df02b91f86fd42936b1c44f131bf042fb3f.zip
tcl-ab7c4df02b91f86fd42936b1c44f131bf042fb3f.tar.gz
tcl-ab7c4df02b91f86fd42936b1c44f131bf042fb3f.tar.bz2
[info exist]->[info exists]. [Bug 602566]
Diffstat (limited to 'library/http')
-rw-r--r--library/http/http.tcl6
1 files changed, 3 insertions, 3 deletions
diff --git a/library/http/http.tcl b/library/http/http.tcl
index ed64ac9..7ae2286 100644
--- a/library/http/http.tcl
+++ b/library/http/http.tcl
@@ -9,7 +9,7 @@
# 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.42 2002/08/20 15:33:32 dgp Exp $
+# RCS: @(#) $Id: http.tcl,v 1.43 2002/10/03 13:34:32 dkf Exp $
# Rough version history:
# 1.0 Old http_get interface
@@ -171,7 +171,7 @@ proc http::Finish { token {errormsg ""} {skipCB 0}} {
set state(status) error
}
}
- if {[info exist state(-command)]} {
+ if {[info exists state(-command)]} {
# Command callback may already have unset our state
unset state(-command)
}
@@ -556,7 +556,7 @@ proc http::error {token} {
proc http::cleanup {token} {
variable $token
upvar 0 $token state
- if {[info exist state]} {
+ if {[info exists state]} {
unset state
}
}