summaryrefslogtreecommitdiff
path: root/src/server
diff options
context:
space:
mode:
authorzwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2009-05-11 22:37:52 +0000
committerzwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2009-05-11 22:37:52 +0000
commitf5e028bc46f6b3eee4fb3f93b5ef068238b03f40 (patch)
tree6ec78b92ed121963362c0918da3a2cc0c1e5e811 /src/server
parent3e58929e6234616207ffcfc164cd502341820468 (diff)
downloadopenocd+libswd-f5e028bc46f6b3eee4fb3f93b5ef068238b03f40.tar.gz
openocd+libswd-f5e028bc46f6b3eee4fb3f93b5ef068238b03f40.tar.bz2
openocd+libswd-f5e028bc46f6b3eee4fb3f93b5ef068238b03f40.tar.xz
openocd+libswd-f5e028bc46f6b3eee4fb3f93b5ef068238b03f40.zip
Remove duplicate definition of encode in httpd.tcl.
git-svn-id: svn://svn.berlios.de/openocd/trunk@1749 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'src/server')
-rw-r--r--src/server/httpd/httpd.tcl5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/server/httpd/httpd.tcl b/src/server/httpd/httpd.tcl
index 5b012681..dfa9e335 100644
--- a/src/server/httpd/httpd.tcl
+++ b/src/server/httpd/httpd.tcl
@@ -94,11 +94,6 @@ proc lunion {a b} {
}
-# encode text
-proc encode {a} {
- return [string map {\n <br/> { } {&nbsp;} \t {&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;} > &gt; < &lt; / &#47;} $a]
-}
-
proc first_flash_base {} {
set t [lindex 0 [ocd_flash_banks]]
return $t(base)