Author: toad
Date: 2009-02-18 13:17:49 +0000 (Wed, 18 Feb 2009)
New Revision: 25681

Modified:
   branches/db4o/freenet/src/freenet/client/async/SplitFileFetcherSegment.java
Log:
Don't store if we're finished


Modified: 
branches/db4o/freenet/src/freenet/client/async/SplitFileFetcherSegment.java
===================================================================
--- branches/db4o/freenet/src/freenet/client/async/SplitFileFetcherSegment.java 
2009-02-18 13:17:36 UTC (rev 25680)
+++ branches/db4o/freenet/src/freenet/client/async/SplitFileFetcherSegment.java 
2009-02-18 13:17:49 UTC (rev 25681)
@@ -697,10 +697,10 @@
                                        checkKeys[i].removeFrom(container);
                                checkKeys[i] = null;
                        }
+                       if(persistent && !fetcherFinished) {
+                               container.store(this);
+                       }
                }
-               if(persistent) {
-                       container.store(this);
-               }
                // Defer the completion until we have generated healing blocks 
if we are collecting binary blobs.
                if(isCollectingBinaryBlob(parent)) {
                        if(persistent)

_______________________________________________
cvs mailing list
[email protected]
http://emu.freenetproject.org/cgi-bin/mailman/listinfo/cvs

Reply via email to