Author: j16sdiz
Date: 2008-10-23 15:05:44 +0000 (Thu, 23 Oct 2008)
New Revision: 23047

Modified:
   trunk/freenet/src/freenet/support/io/PaddedEphemerallyEncryptedBucket.java
Log:
Revert r23045

Modified: 
trunk/freenet/src/freenet/support/io/PaddedEphemerallyEncryptedBucket.java
===================================================================
--- trunk/freenet/src/freenet/support/io/PaddedEphemerallyEncryptedBucket.java  
2008-10-23 14:26:48 UTC (rev 23046)
+++ trunk/freenet/src/freenet/support/io/PaddedEphemerallyEncryptedBucket.java  
2008-10-23 15:05:44 UTC (rev 23047)
@@ -225,7 +225,7 @@

                @Override
                public int read() throws IOException {
-                       if(ptr >= dataLength) return -1;
+                       if(ptr > dataLength) return -1;
                        int x = in.read();
                        if(x == -1) return x;
                        ptr++;


Reply via email to