Author: toad
Date: 2008-12-17 20:44:36 +0000 (Wed, 17 Dec 2008)
New Revision: 24487
Modified:
branches/db4o/freenet/src/freenet/client/async/ClientGetter.java
Log:
Chain to onFailure => don't finish onSuccess()
Modified: branches/db4o/freenet/src/freenet/client/async/ClientGetter.java
===================================================================
--- branches/db4o/freenet/src/freenet/client/async/ClientGetter.java
2008-12-17 20:41:46 UTC (rev 24486)
+++ branches/db4o/freenet/src/freenet/client/async/ClientGetter.java
2008-12-17 20:44:36 UTC (rev 24487)
@@ -164,6 +164,7 @@
} catch (IOException e) {
Logger.error(this, "Error copying from "+from+"
to "+to+" : "+e.toString(), e);
onFailure(new
FetchException(FetchException.BUCKET_ERROR, e.toString()), state /* not
strictly to blame, but we're not ako ClientGetState... */, container, context);
+ return;
}
result = new FetchResult(result, to);
} else {
_______________________________________________
cvs mailing list
[email protected]
http://emu.freenetproject.org/cgi-bin/mailman/listinfo/cvs