Author: toad
Date: 2009-03-27 18:39:43 +0000 (Fri, 27 Mar 2009)
New Revision: 26243

Modified:
   branches/db4o/freenet/src/freenet/node/SSKInsertSender.java
Log:
AFAICS it is not legal to exit here without setting the status. Enforce this.
REQUEST BACKPORT FOR THIS AND THE TWO PREVIOUS COMMITS TO THIS FILE.


Modified: branches/db4o/freenet/src/freenet/node/SSKInsertSender.java
===================================================================
--- branches/db4o/freenet/src/freenet/node/SSKInsertSender.java 2009-03-27 
18:36:52 UTC (rev 26242)
+++ branches/db4o/freenet/src/freenet/node/SSKInsertSender.java 2009-03-27 
18:39:43 UTC (rev 26243)
@@ -116,6 +116,8 @@
                finish(INTERNAL_ERROR, null);
         } finally {
                if(logMINOR) Logger.minor(this, "Finishing "+this);
+            if(status == NOT_FINISHED)
+               finish(INTERNAL_ERROR, null);
                node.removeInsertSender(myKey, origHTL, this);
         }
        }

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

Reply via email to