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

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

oops, forgot to commit this one.

parent 2b21b972
No related branches found
No related tags found
No related merge requests found
......@@ -154,11 +154,10 @@ public class MessageOutputStream extends OutputStream {
ByteArray ba = null;
synchronized (_dataLock) {
// flush any data, but don't wait for it
if (_valid > 0) {
_dataReceiver.writeData(_buf, 0, _valid);
_written += _valid;
_valid = 0;
}
_dataReceiver.writeData(_buf, 0, _valid);
_written += _valid;
_valid = 0;
if (_buf != null) {
ba = new ByteArray(_buf);
_buf = null;
......
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