* Small logic fix for dr|z3d

This commit is contained in:
sponge
2009-09-02 00:08:03 +00:00
parent f1f97e8ec5
commit 49ff3cfbf3
2 changed files with 8 additions and 1 deletions

View File

@ -1,3 +1,6 @@
2009-09-02 sponge
* Small logic fix for dr|z3d
2009-08-28 zzz
* Client: Fail if no date handshake after 30s or no leaseset
after 5m, rather than hanging forever.

View File

@ -1091,7 +1091,11 @@ public class KademliaNetworkDatabaseFacade extends NetworkDatabaseFacade {
buf.append("<a name=\"our-info\" ></a><b>Our info: ").append(hash).append("</b></th></tr><tr><td>\n");
} else {
buf.append("<b>Peer info for:</b> ").append(hash).append("\n");
buf.append("[<a href=\"netdb.jsp?r=").append(hash.substring(0, 6)).append("\" >Full entry</a>]</th></tr><td>\n");
if (full) {
buf.append("[<a href=\"netdb.jsp\" >Back</a>]</th></tr><td>\n");
} else {
buf.append("[<a href=\"netdb.jsp?r=").append(hash.substring(0, 6)).append("\" >Full entry</a>]</th></tr><td>\n");
}
}
long age = _context.clock().now() - info.getPublished();