httpd wip

git-svn-id: svn://svn.berlios.de/openocd/trunk@1272 b42882b7-edfa-0310-969c-e2dbd0fdcd60
This commit is contained in:
oharboe
2008-12-23 08:52:02 +00:00
parent 6e1184dcff
commit fb86d0e76d
6 changed files with 19 additions and 11 deletions

View File

@@ -438,7 +438,7 @@
set form_length 0x10000
}
if {[string compare $form_address ""]==0} {
if {[catch {[zy1000_flash]} result]==0} {
if {[catch {[first_flash_base]} result]==0} {
set form_address "0x[tohex $result]"
}
}
@@ -794,8 +794,8 @@ append console [encode [capture_catch poll]]
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"