update bf
authorChristian Grothoff <christian@grothoff.org>
Sat, 25 Jul 2009 21:19:43 +0000 (21:19 +0000)
committerChristian Grothoff <christian@grothoff.org>
Sat, 25 Jul 2009 21:19:43 +0000 (21:19 +0000)
src/datastore/gnunet-service-datastore.c

index 22ae6feb5531f112a51fe642246bd11f49a1de6f..b0719b69bc1ce7d018498af2ab3125683d5152aa 100644 (file)
@@ -281,6 +281,8 @@ expired_processor (void *cls,
              "Deleting content that expired %llu ms ago\n",
              (unsigned long long) (now.value - expiration.value));
 #endif
+  GNUNET_CONTAINER_bloomfilter_remove (filter,
+                                      key);
   return GNUNET_NO; /* delete */
 }
 
@@ -356,6 +358,8 @@ manage (void *cls,
              size + GNUNET_DATASTORE_ENTRY_OVERHEAD,
              *need);
 #endif
+  GNUNET_CONTAINER_bloomfilter_remove (filter,
+                                      key);
   return GNUNET_NO;
 }