From f5e028bc46f6b3eee4fb3f93b5ef068238b03f40 Mon Sep 17 00:00:00 2001
From: zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
Date: Mon, 11 May 2009 22:37:52 +0000
Subject: Remove duplicate definition of encode in httpd.tcl.

git-svn-id: svn://svn.berlios.de/openocd/trunk@1749 b42882b7-edfa-0310-969c-e2dbd0fdcd60
---
 src/server/httpd/httpd.tcl | 5 -----
 1 file changed, 5 deletions(-)

(limited to 'src/server/httpd')

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)
-- 
cgit v1.2.3