Author: toad
Date: 2009-03-07 21:20:38 +0000 (Sat, 07 Mar 2009)
New Revision: 25958

Modified:
   branches/db4o/freenet/src/freenet/client/async/ClientPutter.java
Log:
Clone here to avoid double removal


Modified: branches/db4o/freenet/src/freenet/client/async/ClientPutter.java
===================================================================
--- branches/db4o/freenet/src/freenet/client/async/ClientPutter.java    
2009-03-07 21:19:30 UTC (rev 25957)
+++ branches/db4o/freenet/src/freenet/client/async/ClientPutter.java    
2009-03-07 21:20:38 UTC (rev 25958)
@@ -102,7 +102,7 @@
                                if(!cancel) {
                                        if(!binaryBlob)
                                                currentState =
-                                                       new 
SingleFileInserter(this, this, new InsertBlock(data, cm, targetURI), 
isMetadata, ctx, 
+                                                       new 
SingleFileInserter(this, this, new InsertBlock(data, persistent() ? cm.clone() 
: cm, persistent() ? targetURI.clone() : targetURI), isMetadata, ctx, 
                                                                        false, 
getCHKOnly, false, null, null, false, targetFilename, earlyEncode);
                                        else
                                                currentState =

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

Reply via email to