Author: j16sdiz
Date: 2008-12-02 12:21:50 +0000 (Tue, 02 Dec 2008)
New Revision: 24007

Modified:
   trunk/freenet/src/freenet/store/saltedhash/SaltedHashFreenetStore.java
Log:
more bloom filter fix

Modified: trunk/freenet/src/freenet/store/saltedhash/SaltedHashFreenetStore.java
===================================================================
--- trunk/freenet/src/freenet/store/saltedhash/SaltedHashFreenetStore.java      
2008-12-02 11:55:23 UTC (rev 24006)
+++ trunk/freenet/src/freenet/store/saltedhash/SaltedHashFreenetStore.java      
2008-12-02 12:21:50 UTC (rev 24007)
@@ -834,6 +834,7 @@
                        byte[] newsalt = new byte[0x10];
                        random.nextBytes(newsalt);
                        cipherManager = new CipherManager(newsalt);
+                       bloomFilterK = BloomFilter.optimialK(bloomFilterSize, 
storeSize);
 
                        writeConfigFile();
                        return true;

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

Reply via email to