aboutsummaryrefslogtreecommitdiff
path: root/src/datacache
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2011-06-16 13:08:48 +0000
committerChristian Grothoff <christian@grothoff.org>2011-06-16 13:08:48 +0000
commit134924d50bf7b1efa08ff2622c4d09576a9f9a39 (patch)
treeb87e5a8f37971639527253082dc18db7cbc55616 /src/datacache
parent93cb17b80c96217bfbbb912c26d7ac7f4edb9e3c (diff)
downloadgnunet-134924d50bf7b1efa08ff2622c4d09576a9f9a39.tar.gz
gnunet-134924d50bf7b1efa08ff2622c4d09576a9f9a39.zip
do not allow NULL for fn
Diffstat (limited to 'src/datacache')
-rw-r--r--src/datacache/datacache.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/datacache/datacache.c b/src/datacache/datacache.c
index 10b2721ee..b937c63bb 100644
--- a/src/datacache/datacache.c
+++ b/src/datacache/datacache.c
@@ -163,7 +163,7 @@ GNUNET_DATACACHE_create (const struct GNUNET_CONFIGURATION_Handle *cfg,
163 } 163 }
164 else 164 else
165 { 165 {
166 ret->filter = GNUNET_CONTAINER_bloomfilter_load (NULL, bf_size, 5); /* approx. 3% false positives at max use */ 166 ret->filter = GNUNET_CONTAINER_bloomfilter_init (NULL, bf_size, 5); /* approx. 3% false positives at max use */
167 } 167 }
168 ret->stats = GNUNET_STATISTICS_create ("datacache", 168 ret->stats = GNUNET_STATISTICS_create ("datacache",
169 cfg); 169 cfg);