diff options
Diffstat (limited to 'library/http2.0/http.tcl')
-rw-r--r-- | library/http2.0/http.tcl | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/library/http2.0/http.tcl b/library/http2.0/http.tcl index e61c16a..622801f 100644 --- a/library/http2.0/http.tcl +++ b/library/http2.0/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.1.2.2 1998/09/24 23:59:07 stanton Exp $ +# RCS: @(#) $Id: http.tcl,v 1.1.2.3 1999/01/29 00:20:46 stanton Exp $ package provide http 2.0 ;# This uses Tcl namespaces @@ -99,7 +99,10 @@ proc http::config {args} { set state(status) error } } - unset state(-command) + if {[info exist state(-command)]} { + # Command callback may already have unset our state + unset state(-command) + } } } |