reset error message on good read and adjust code indent

r3026 | dcl | 2010-09-14 11:34:59 +1000 (Tue, 14 Sep 2010) | 2 lines
This commit is contained in:
Douglas Clowes
2010-09-14 11:34:59 +10:00
parent 33cfcefa8a
commit f776135904

View File

@@ -75,6 +75,9 @@ debug_log "rdValue $tc_root ITC503-a result=$data"
set rslt [scan $data %f data]
debug_log "rdValue $tc_root ITC503-b result=$data"
}
if { [hpropexists [sct] geterror] } {
hdelprop [sct] geterror
}
if {$data != [sct oldval]} {
sct oldval $data
sct update $data