From c2d178efc377dda85ac99c48f2d6f4c5fa39307f Mon Sep 17 00:00:00 2001 From: str4d <str4d@mail.i2p> Date: Wed, 24 Oct 2012 19:51:54 +0000 Subject: [PATCH] Fixed a very stupid bug >_< --- apps/i2ptunnel/jsp/index.jsp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/i2ptunnel/jsp/index.jsp b/apps/i2ptunnel/jsp/index.jsp index 3e0d7091ff..4d694cad4c 100644 --- a/apps/i2ptunnel/jsp/index.jsp +++ b/apps/i2ptunnel/jsp/index.jsp @@ -285,7 +285,7 @@ </label> <div class="text"> <% String cdest = indexBean.getClientDestination(curClient); - if (cdest.length() < 70) { // Probably a B64 (a B32 is 60 chars) so truncate + if (cdest.length() > 70) { // Probably a B64 (a B32 is 60 chars) so truncate %><%=cdest.substring(0, 45)%>…<%=cdest.substring(cdest.length() - 15, cdest.length())%><% } else if (cdest.length() > 0) { %><%=cdest%><% -- GitLab