summaryrefslogtreecommitdiff
path: root/src/server/httpd/httpd.tcl
diff options
context:
space:
mode:
Diffstat (limited to 'src/server/httpd/httpd.tcl')
-rw-r--r--src/server/httpd/httpd.tcl6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/server/httpd/httpd.tcl b/src/server/httpd/httpd.tcl
index 607660cc..a8bce162 100644
--- a/src/server/httpd/httpd.tcl
+++ b/src/server/httpd/httpd.tcl
@@ -102,12 +102,12 @@ proc encode {a} {
# catch any exceptions, capture output and return it
proc capture_catch {a} {
catch {
- return [eval {capture $a}]
+ capture {uplevel $a}
} result
- return $result
+ return $result
}
-proc zy1000_flash {} {
+proc first_flash_base {} {
set t [lindex 0 [ocd_flash_banks]]
return $t(base)
}