summaryrefslogtreecommitdiff
path: root/src/server/httpd/httpd.tcl
diff options
context:
space:
mode:
authoroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2008-12-23 08:52:02 +0000
committeroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2008-12-23 08:52:02 +0000
commitfb86d0e76d280c544f28ff1396c706f4e19d77ca (patch)
tree2a5df28281e6f46e542a2f624d287a27734da3ef /src/server/httpd/httpd.tcl
parent6e1184dcffaf807476ab312404c1bc0a32c38c36 (diff)
downloadopenocd+libswd-fb86d0e76d280c544f28ff1396c706f4e19d77ca.tar.gz
openocd+libswd-fb86d0e76d280c544f28ff1396c706f4e19d77ca.tar.bz2
openocd+libswd-fb86d0e76d280c544f28ff1396c706f4e19d77ca.tar.xz
openocd+libswd-fb86d0e76d280c544f28ff1396c706f4e19d77ca.zip
httpd wip
git-svn-id: svn://svn.berlios.de/openocd/trunk@1272 b42882b7-edfa-0310-969c-e2dbd0fdcd60
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)
}