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

Skip to content
Snippets Groups Projects
Verified Commit c58ccfa2 authored by Zlatin Balevsky's avatar Zlatin Balevsky
Browse files

Null-out the InputStream of the Buffer object when writing. Fixes #17

parent 025445fc
No related branches found
No related tags found
No related merge requests found
......@@ -356,6 +356,7 @@ class PersistentMailCache {
GzipFileBuffer gb = new GzipFileBuffer(f);
out = gb.getOutputStream();
DataHelper.copy(in, out);
rb.readComplete(true);
return true;
} catch (IOException ioe) {
_log.error("Error writing: " + f + ": " + ioe);
......
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