diff options
author | oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2008-12-23 08:52:02 +0000 |
---|---|---|
committer | oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2008-12-23 08:52:02 +0000 |
commit | fb86d0e76d280c544f28ff1396c706f4e19d77ca (patch) | |
tree | 2a5df28281e6f46e542a2f624d287a27734da3ef /src/server/httpd/openocd.tcl | |
parent | 6e1184dcffaf807476ab312404c1bc0a32c38c36 (diff) | |
download | openocd_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/openocd.tcl')
-rw-r--r-- | src/server/httpd/openocd.tcl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/server/httpd/openocd.tcl b/src/server/httpd/openocd.tcl index cb28026e..4fed3877 100644 --- a/src/server/httpd/openocd.tcl +++ b/src/server/httpd/openocd.tcl @@ -154,8 +154,8 @@ append buffer { set form_command [formfetch form_command]
set form_edittext ""
- if {[string length $form_command]>0} {
- catch {capture_catch {eval "$form_command"}} form_edittext
+ if {[string length $form_command]>0} {
+ set form_edittext [capture_catch {eval $form_command}]
}
append buffer {<form action="openocd.tcl" method="post">} "\n"
|