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

Skip to content
Snippets Groups Projects
Commit 5eccc01d authored by BlubMail's avatar BlubMail
Browse files

merge of '1d77e0a89198e422acfb66d9310fad7b0b290e38'

     and '5271eb82ac21ebc1a96dd31c462a14e2aaa0c89e'
parents 1850e893 23417935
No related branches found
No related tags found
No related merge requests found
...@@ -102,8 +102,8 @@ public abstract class SAMHandler implements Runnable { ...@@ -102,8 +102,8 @@ public abstract class SAMHandler implements Runnable {
} }
static public void writeBytes(ByteBuffer data, SocketChannel out) throws IOException { static public void writeBytes(ByteBuffer data, SocketChannel out) throws IOException {
while (data.hasRemaining()) out.write(data); while (data.hasRemaining()) out.write(data);
out.socket().getOutputStream().flush(); out.socket().getOutputStream().flush();
} }
/** /**
......
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