Author: j16sdiz
Date: 2008-12-02 11:55:23 +0000 (Tue, 02 Dec 2008)
New Revision: 24006

Modified:
   trunk/freenet/src/freenet/store/saltedhash/SaltedHashFreenetStore.java
Log:
doh!

Modified: trunk/freenet/src/freenet/store/saltedhash/SaltedHashFreenetStore.java
===================================================================
--- trunk/freenet/src/freenet/store/saltedhash/SaltedHashFreenetStore.java      
2008-12-02 11:42:41 UTC (rev 24005)
+++ trunk/freenet/src/freenet/store/saltedhash/SaltedHashFreenetStore.java      
2008-12-02 11:55:23 UTC (rev 24006)
@@ -855,8 +855,11 @@
 
                        try {
                                bloomFilterK = raf.readInt();
-                               if (bloomFilterK == 0)
+                               if (bloomFilterK == 0) {
                                        bloomFilterK = 
BloomFilter.optimialK(bloomFilterSize, storeSize);
+                                       flags |= FLAG_REBUILD_BLOOM;
+                                       checkBloom = false;
+                               }
                        } catch (IOException e) {
                                flags |= FLAG_REBUILD_BLOOM;
                        }

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

Reply via email to