forked from I2P_Developers/i2p.i2p
Null-out the InputStream of the Buffer object when writing. Fixes #17
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user