r26714 - trunk/freenet/src/freenet/node/fcp

[email protected]
Newsgroups gmane.network.freenet.cvs
Message-ID <[email protected]>
Author: toad
Date: 2009-04-10 15:43:54 +0000 (Fri, 10 Apr 2009)
New Revision: 26714

Modified:
   trunk/freenet/src/freenet/node/fcp/ClientRequest.java
Log:
Activate here too


Modified: trunk/freenet/src/freenet/node/fcp/ClientRequest.java
===================================================================
--- trunk/freenet/src/freenet/node/fcp/ClientRequest.java	2009-04-10 15:20:48 UTC (rev 26713)
+++ trunk/freenet/src/freenet/node/fcp/ClientRequest.java	2009-04-10 15:43:54 UTC (rev 26714)
@@ -153,6 +153,10 @@
 		} else {
 			client = persistenceType == PERSIST_FOREVER ? handler.getForeverClient(container) : handler.getRebootClient();
 		}
+		if(persistenceType == PERSIST_FOREVER) {
+			container.activate(client, 1);
+			client.init(container);
+		}
 		lowLevelClient = client.lowLevelClient;
 		if(lowLevelClient == null)
 			throw new NullPointerException("No lowLevelClient from client: "+client+" global = "+global+" persistence = "+persistenceType);
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.