Author: toad
Date: 2007-08-17 14:09:41 +0000 (Fri, 17 Aug 2007)
New Revision: 14748

Modified:
   trunk/freenet/src/freenet/client/Metadata.java
Log:
If sub-manifests are unresolved, kill the write and resolve them. Not only if 
our direct manifest docs are unresolved.
This could very well have caused metadata corruption.

Modified: trunk/freenet/src/freenet/client/Metadata.java
===================================================================
--- trunk/freenet/src/freenet/client/Metadata.java      2007-08-17 13:58:02 UTC 
(rev 14747)
+++ trunk/freenet/src/freenet/client/Metadata.java      2007-08-17 14:09:41 UTC 
(rev 14748)
@@ -849,6 +849,7 @@
                                                unresolvedMetadata = new 
LinkedList();
                                        for(int j=0;j<m.length;j++)
                                                
unresolvedMetadata.addFirst(m[j]);
+                                       kill = true;
                                }
                        }
                        if(kill) {


Reply via email to