]> git.sur5r.net Git - openocd/commitdiff
Remove duplicate definition of encode in httpd.tcl.
authorzwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
Mon, 11 May 2009 22:37:52 +0000 (22:37 +0000)
committerzwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
Mon, 11 May 2009 22:37:52 +0000 (22:37 +0000)
git-svn-id: svn://svn.berlios.de/openocd/trunk@1749 b42882b7-edfa-0310-969c-e2dbd0fdcd60

src/server/httpd/httpd.tcl

index 5b012681a6061c434d3d3d92e54faaaa9cfca2d9..dfa9e335cbb5e13117e0ff9d1de1c881b1c8029e 100644 (file)
@@ -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)