Author: nextgens
Date: 2006-10-29 17:48:23 +0000 (Sun, 29 Oct 2006)
New Revision: 10738

Modified:
   trunk/freenet/src/freenet/node/fcp/FCPClient.java
Log:
Fix a stupid bug in FCPClient

Modified: trunk/freenet/src/freenet/node/fcp/FCPClient.java
===================================================================
--- trunk/freenet/src/freenet/node/fcp/FCPClient.java   2006-10-29 17:06:24 UTC 
(rev 10737)
+++ trunk/freenet/src/freenet/node/fcp/FCPClient.java   2006-10-29 17:48:23 UTC 
(rev 10738)
@@ -166,7 +166,7 @@
                        req = (ClientRequest) 
clientRequestsByIdentifier.get(identifier);
                        if(req == null)
                                throw new 
MessageInvalidException(ProtocolErrorMessage.NO_SUCH_IDENTIFIER, "Not in hash", 
identifier);
-                       else if(!(runningPersistentRequests.remove(req) | 
completedUnackedRequests.remove(req)))
+                       else if(!(runningPersistentRequests.remove(req) || 
completedUnackedRequests.remove(req)))
                                throw new 
MessageInvalidException(ProtocolErrorMessage.NO_SUCH_IDENTIFIER, "Not found", 
identifier);
                        clientRequestsByIdentifier.remove(identifier);
                }


Reply via email to