Author: toad
Date: 2008-07-11 12:47:09 +0000 (Fri, 11 Jul 2008)
New Revision: 21053
Modified:
branches/db4o/freenet/src/freenet/node/fcp/FCPClient.java
Log:
Fix two copies of every persistent progress message being sent: we should only
relay a message to those subscribers which have the same persistence type as us.
Modified: branches/db4o/freenet/src/freenet/node/fcp/FCPClient.java
===================================================================
--- branches/db4o/freenet/src/freenet/node/fcp/FCPClient.java 2008-07-11
12:46:35 UTC (rev 21052)
+++ branches/db4o/freenet/src/freenet/node/fcp/FCPClient.java 2008-07-11
12:47:09 UTC (rev 21053)
@@ -276,6 +276,7 @@
}
if(clients != null)
for(int i=0;i<clients.length;i++) {
+ if(clients[i].persistenceType !=
persistenceType) continue;
if(persistenceType ==
ClientRequest.PERSIST_FOREVER)
container.activate(clients[i], 1);
clients[i].queueClientRequestMessage(msg,
verbosityLevel, true, container);