Author: toad
Date: 2006-08-14 20:04:37 +0000 (Mon, 14 Aug 2006)
New Revision: 10077

Modified:
   trunk/freenet/src/freenet/client/async/SingleFileInserter.java
   trunk/freenet/src/freenet/node/Version.java
Log:
941: Fix insert resume corruption. (It was inserting the metadata as data...)

Modified: trunk/freenet/src/freenet/client/async/SingleFileInserter.java
===================================================================
--- trunk/freenet/src/freenet/client/async/SingleFileInserter.java      
2006-08-14 19:29:40 UTC (rev 10076)
+++ trunk/freenet/src/freenet/client/async/SingleFileInserter.java      
2006-08-14 20:04:37 UTC (rev 10077)
@@ -304,7 +304,7 @@
                                        String type = metaFS.get("Type");
                                        if(type.equals("SplitFileInserter")) {
                                                newMetaPutter = 
-                                                       new 
SplitFileInserter(parent, this, block.clientMetadata, ctx, getCHKOnly, 
metadata, token, insertAsArchiveManifest, metaFS);
+                                                       new 
SplitFileInserter(parent, this, block.clientMetadata, ctx, getCHKOnly, true, 
token, insertAsArchiveManifest, metaFS);
                                        } else if(type.equals("SplitHandler")) {
                                                newMetaPutter = new 
SplitHandler();
                                                
((SplitHandler)newMetaPutter).start(metaFS);

Modified: trunk/freenet/src/freenet/node/Version.java
===================================================================
--- trunk/freenet/src/freenet/node/Version.java 2006-08-14 19:29:40 UTC (rev 
10076)
+++ trunk/freenet/src/freenet/node/Version.java 2006-08-14 20:04:37 UTC (rev 
10077)
@@ -18,7 +18,7 @@
        public static final String protocolVersion = "1.0";

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

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


Reply via email to