Author: toad
Date: 2009-01-09 16:19:34 +0000 (Fri, 09 Jan 2009)
New Revision: 24985

Modified:
   trunk/freenet/src/freenet/node/Node.java
Log:
Another doh


Modified: trunk/freenet/src/freenet/node/Node.java
===================================================================
--- trunk/freenet/src/freenet/node/Node.java    2009-01-09 16:09:33 UTC (rev 
24984)
+++ trunk/freenet/src/freenet/node/Node.java    2009-01-09 16:19:34 UTC (rev 
24985)
@@ -2990,8 +2990,10 @@
                synchronized(runningUIDs) {
                        UIDTag oldTag = runningUIDs.get(uid);
                        if(oldTag == null) {
+                               if(canFail) return;
                                throw new IllegalStateException("Could not 
unlock "+uid+ "! : ssk="+ssk+" insert="+insert+" canFail="+canFail+" 
offerReply="+offerReply+" local="+local);
                        } else if(tag != oldTag) {
+                               if(canFail) return;
                                Logger.error(this, "Removing "+tag+" for 
"+uid+" but "+tag+" is registered!");
                                return;
                        } else {

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

Reply via email to