Error in the geoip html.

This commit is contained in:
mathiasdm
2009-05-23 17:24:44 +00:00
parent eac45256aa
commit 29489ad198

View File

@ -1070,7 +1070,7 @@ public class KademliaNetworkDatabaseFacade extends NetworkDatabaseFacade {
String country = _context.commSystem().getCountry(info.getIdentity().getHash()); String country = _context.commSystem().getCountry(info.getIdentity().getHash());
if(country != null) { if(country != null) {
buf.append(" <img alt=\"").append(country.toUpperCase()).append("\""); buf.append(" <img alt=\"").append(country.toUpperCase()).append("\"");
buf.append("\" src=\"/flags.jsp?c=").append(country).append("\">"); buf.append(" src=\"/flags.jsp?c=").append(country).append("\">");
} }
for (Iterator iter = info.getAddresses().iterator(); iter.hasNext(); ) { for (Iterator iter = info.getAddresses().iterator(); iter.hasNext(); ) {
RouterAddress addr = (RouterAddress)iter.next(); RouterAddress addr = (RouterAddress)iter.next();