* I2PTunnel: Fix NPE

This commit is contained in:
zzz
2011-02-03 15:45:26 +00:00
parent 9257cbb0e7
commit db93421599

View File

@@ -236,7 +236,7 @@
<% <%
/* should only happen for streamr client */ /* should only happen for streamr client */
String cHost= indexBean.getClientInterface(curClient); String cHost= indexBean.getClientInterface(curClient);
if ("".equals(cHost)) { if (cHost == null || "".equals(cHost)) {
out.write("<font color=\"red\">"); out.write("<font color=\"red\">");
out.write(intl._("Host not set")); out.write(intl._("Host not set"));
out.write("</font>"); out.write("</font>");