Author: nextgens
Date: 2008-08-13 14:28:08 +0000 (Wed, 13 Aug 2008)
New Revision: 21809

Modified:
   trunk/freenet/src/freenet/support/io/ArrayBucket.java
Log:
doh

Modified: trunk/freenet/src/freenet/support/io/ArrayBucket.java
===================================================================
--- trunk/freenet/src/freenet/support/io/ArrayBucket.java       2008-08-13 
14:26:15 UTC (rev 21808)
+++ trunk/freenet/src/freenet/support/io/ArrayBucket.java       2008-08-13 
14:28:08 UTC (rev 21809)
@@ -40,7 +40,7 @@
        public synchronized OutputStream getOutputStream() throws IOException {
                if(readOnly) throw new IOException("Read only");
                if(os == null)
-                       new ArrayBucketOutputStream();
+                       os = new ArrayBucketOutputStream();
                return os;
        }



Reply via email to