I2P Address: [http://git.idk.i2p]

Skip to content
Snippets Groups Projects
Commit 18a6a9e9 authored by jrandom's avatar jrandom Committed by zzz
Browse files

arrggggh, 1.4-ism that kaffe supports (but sun-1.3 users havent complained...

arrggggh, 1.4-ism that kaffe supports (but sun-1.3 users havent complained about). (thanks frontier)
parent eed8d9c6
No related branches found
No related tags found
No related merge requests found
...@@ -76,7 +76,7 @@ class I2PSocketImpl implements I2PSocket { ...@@ -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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment