Author: toad
Date: 2006-06-09 21:10:34 +0000 (Fri, 09 Jun 2006)
New Revision: 9109

Modified:
   trunk/freenet/src/freenet/node/Version.java
   trunk/freenet/src/freenet/support/io/LineReadingInputStream.java
Log:
793: And again. :)

Modified: trunk/freenet/src/freenet/node/Version.java
===================================================================
--- trunk/freenet/src/freenet/node/Version.java 2006-06-09 21:09:31 UTC (rev 
9108)
+++ trunk/freenet/src/freenet/node/Version.java 2006-06-09 21:10:34 UTC (rev 
9109)
@@ -18,7 +18,7 @@
        public static final String protocolVersion = "1.0";

        /** The build number of the current revision */
-       private static final int buildNumber = 792;
+       private static final int buildNumber = 793;

        /** Oldest build of Fred we will talk to */
        private static final int lastGoodBuild = 765;

Modified: trunk/freenet/src/freenet/support/io/LineReadingInputStream.java
===================================================================
--- trunk/freenet/src/freenet/support/io/LineReadingInputStream.java    
2006-06-09 21:09:31 UTC (rev 9108)
+++ trunk/freenet/src/freenet/support/io/LineReadingInputStream.java    
2006-06-09 21:10:34 UTC (rev 9109)
@@ -36,7 +36,7 @@
                        }
                        if(ctr >= buf.length) {
                                if(buf.length == maxLength) throw new 
TooLongException();
-                               byte[] newBuf = new byte[Math.min(buf.length * 
2, bufferSize)];
+                               byte[] newBuf = new byte[Math.min(buf.length * 
2, maxLength)];
                                System.arraycopy(buf, 0, newBuf, 0, buf.length);
                                buf = newBuf;
                        }


Reply via email to