arrggggh, 1.4-ism that kaffe supports (but sun-1.3 users havent complained about). (thanks frontier)
This commit is contained in:
@ -76,7 +76,7 @@ class I2PSocketImpl implements I2PSocket {
|
|||||||
_socketId = ++__socketId;
|
_socketId = ++__socketId;
|
||||||
local = mgr.getSession().getMyDestination();
|
local = mgr.getSession().getMyDestination();
|
||||||
String us = mgr.getSession().getMyDestination().calculateHash().toBase64().substring(0,4);
|
String us = mgr.getSession().getMyDestination().calculateHash().toBase64().substring(0,4);
|
||||||
String name = us + (outgoing ? "->" : "<-") + peer.calculateHash().toBase64().subSequence(0,4);
|
String name = us + (outgoing ? "->" : "<-") + peer.calculateHash().toBase64().substring(0,4);
|
||||||
in = new I2PInputStream(name + " in");
|
in = new I2PInputStream(name + " in");
|
||||||
I2PInputStream pin = new I2PInputStream(name + " out");
|
I2PInputStream pin = new I2PInputStream(name + " out");
|
||||||
out = new I2POutputStream(pin);
|
out = new I2POutputStream(pin);
|
||||||
|
Reference in New Issue
Block a user