Author: toad
Date: 2009-03-13 22:37:23 +0000 (Fri, 13 Mar 2009)
New Revision: 26032

Modified:
   branches/db4o/freenet/src/freenet/client/async/SimpleManifestPutter.java
Log:
Store this only if needed


Modified: 
branches/db4o/freenet/src/freenet/client/async/SimpleManifestPutter.java
===================================================================
--- branches/db4o/freenet/src/freenet/client/async/SimpleManifestPutter.java    
2009-03-13 22:36:52 UTC (rev 26031)
+++ branches/db4o/freenet/src/freenet/client/async/SimpleManifestPutter.java    
2009-03-13 22:37:23 UTC (rev 26032)
@@ -1224,12 +1224,13 @@
                                        container.store(this);
                        } else {
                        finished = true;
+                       if(persistent()) container.store(this);
+                       fin = true;
                        }
                        }
                }
                if(persistent()) {
                        container.store(metadataPuttersByMetadata);
-                       container.store(this);
                        container.deactivate(metadataPuttersByMetadata, 1);
                }
                if(fin)

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

Reply via email to