mirror of
https://github.com/i2p/i2p.i2p.git
synced 2026-10-23 02:12:54 +00:00
small optimization
This commit is contained in:
1 parent
81dd267e29
commit
01b4b227ae
1 file changed
+2
-1
@@ -58,7 +58,8 @@ class DummyNamingService extends NamingService {
|
||||
if (hostname.length() >= 516) {
|
||||
d = lookupBase64(hostname);
|
||||
// What the heck, cache these too
|
||||
putCache(hostname, d);
|
||||
if (d != null)
|
||||
putCache(hostname, d);
|
||||
return d;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user