aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2012-11-13 13:55:35 +0000
committerChristian Grothoff <christian@grothoff.org>2012-11-13 13:55:35 +0000
commit125844501aeadb8bc4aafd804cbc71613e3ae04e (patch)
tree27ee5aa57665dc552dbe595cc74cb1cc56bdbc50
parentdc81a96f34329003205329317429c73900fe2b25 (diff)
downloadgnunet-125844501aeadb8bc4aafd804cbc71613e3ae04e.tar.gz
gnunet-125844501aeadb8bc4aafd804cbc71613e3ae04e.zip
fixing #2641, datastore size way off
-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 cc04b84d4..e5dbfac16 100644
--- a/src/datacache/datacache.c
+++ b/src/datacache/datacache.c
@@ -112,7 +112,7 @@ env_delete_notify (void *cls, const struct GNUNET_HashCode * key, size_t size)
112 GNUNET_assert (h->utilization >= size); 112 GNUNET_assert (h->utilization >= size);
113 h->utilization -= size; 113 h->utilization -= size;
114 GNUNET_CONTAINER_bloomfilter_remove (h->filter, key); 114 GNUNET_CONTAINER_bloomfilter_remove (h->filter, key);
115 GNUNET_STATISTICS_update (h->stats, gettext_noop ("# bytes stored"), -size, 115 GNUNET_STATISTICS_update (h->stats, gettext_noop ("# bytes stored"), - (long long) size,
116 GNUNET_NO); 116 GNUNET_NO);
117 GNUNET_STATISTICS_update (h->stats, gettext_noop ("# items stored"), -1, 117 GNUNET_STATISTICS_update (h->stats, gettext_noop ("# items stored"), -1,
118 GNUNET_NO); 118 GNUNET_NO);