Author: toad
Date: 2009-04-03 14:01:41 +0000 (Fri, 03 Apr 2009)
New Revision: 26437
Modified:
trunk/freenet/src/freenet/client/async/MultiPutCompletionCallback.java
Log:
clone
Modified: trunk/freenet/src/freenet/client/async/MultiPutCompletionCallback.java
===================================================================
--- trunk/freenet/src/freenet/client/async/MultiPutCompletionCallback.java
2009-04-03 14:00:54 UTC (rev 26436)
+++ trunk/freenet/src/freenet/client/async/MultiPutCompletionCallback.java
2009-04-03 14:01:41 UTC (rev 26437)
@@ -129,6 +129,8 @@
if(e.getMode() == InsertException.CANCELLED) {
// Cancelled is okay, ignore it, we cancel after failure sometimes.
// Ignore the new failure mode, use the
old one
e = this.e;
+ if(persistent)
+ e = e.clone(); // Since we will
remove it, we can't pass it on
} else {
// Delete the old failure mode, use the
new one
this.e.removeFrom(container);
_______________________________________________
cvs mailing list
[email protected]
http://emu.freenetproject.org/cgi-bin/mailman/listinfo/cvs