[freenet-cvs] r11886 - trunk/freenet/src/freenet/node/fcp
saces at freenetproject.org
saces at freenetproject.org
Wed Feb 21 20:14:59 UTC 2007
Author: saces
Date: 2007-02-21 20:14:58 +0000 (Wed, 21 Feb 2007)
New Revision: 11886
Modified:
trunk/freenet/src/freenet/node/fcp/ModifyPersistentRequest.java
Log:
add error message for invalid identifier
Modified: trunk/freenet/src/freenet/node/fcp/ModifyPersistentRequest.java
===================================================================
--- trunk/freenet/src/freenet/node/fcp/ModifyPersistentRequest.java 2007-02-21 20:04:44 UTC (rev 11885)
+++ trunk/freenet/src/freenet/node/fcp/ModifyPersistentRequest.java 2007-02-21 20:14:58 UTC (rev 11886)
@@ -69,7 +69,8 @@
FCPClient client = global ? handler.server.globalClient : handler.getClient();
ClientRequest req = client.getRequest(identifier);
if(req==null){
- Logger.error(this, "Huh ? the request is null!");
+ ProtocolErrorMessage msg = new ProtocolErrorMessage(ProtocolErrorMessage.NO_SUCH_IDENTIFIER, false, null, identifier, global);
+ handler.outputHandler.queue(msg);
return;
}
More information about the cvs
mailing list