Author: toad
Date: 2008-11-06 21:23:03 +0000 (Thu, 06 Nov 2008)
New Revision: 23368
Modified:
trunk/freenet/src/freenet/support/io/TempBucketFactory.java
Log:
Doh
Modified: trunk/freenet/src/freenet/support/io/TempBucketFactory.java
===================================================================
--- trunk/freenet/src/freenet/support/io/TempBucketFactory.java 2008-11-06
21:17:42 UTC (rev 23367)
+++ trunk/freenet/src/freenet/support/io/TempBucketFactory.java 2008-11-06
21:23:03 UTC (rev 23368)
@@ -147,6 +147,7 @@
public synchronized OutputStream getOutputStream() throws
IOException {
if(osIndex > 0)
throw new IOException("Only one OutputStream
per bucket!");
+ hasWritten = true;
return new TempBucketOutputStream(++osIndex);
}