From fb86d0e76d280c544f28ff1396c706f4e19d77ca Mon Sep 17 00:00:00 2001 From: oharboe Date: Tue, 23 Dec 2008 08:52:02 +0000 Subject: httpd wip git-svn-id: svn://svn.berlios.de/openocd/trunk@1272 b42882b7-edfa-0310-969c-e2dbd0fdcd60 --- src/server/httpd/httpd.tcl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/server/httpd/httpd.tcl') 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) } -- cgit v1.2.3