diff options
Diffstat (limited to 'src/datastore/gnunet-service-datastore.c')
-rw-r--r-- | src/datastore/gnunet-service-datastore.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/datastore/gnunet-service-datastore.c b/src/datastore/gnunet-service-datastore.c index 6c493768d..37df441c4 100644 --- a/src/datastore/gnunet-service-datastore.c +++ b/src/datastore/gnunet-service-datastore.c | |||
@@ -1241,7 +1241,7 @@ disk_utilization_change_cb (void *cls, | |||
1241 | _("Datastore payload must have been inaccurate (%lld < %lld). Recomputing it.\n"), | 1241 | _("Datastore payload must have been inaccurate (%lld < %lld). Recomputing it.\n"), |
1242 | (long long) payload, | 1242 | (long long) payload, |
1243 | (long long) -delta); | 1243 | (long long) -delta); |
1244 | payload = plugin->api->estimate_size (plugin->api->cls); | 1244 | plugin->api->estimate_size (plugin->api->cls, &payload); |
1245 | GNUNET_log (GNUNET_ERROR_TYPE_WARNING, | 1245 | GNUNET_log (GNUNET_ERROR_TYPE_WARNING, |
1246 | _("New payload: %lld\n"), | 1246 | _("New payload: %lld\n"), |
1247 | (long long) payload); | 1247 | (long long) payload); |
@@ -1404,7 +1404,7 @@ process_stat_done (void *cls, int success) | |||
1404 | { | 1404 | { |
1405 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, | 1405 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, |
1406 | "Failed to obtain value from statistics service, recomputing it\n"); | 1406 | "Failed to obtain value from statistics service, recomputing it\n"); |
1407 | payload = plugin->api->estimate_size (plugin->api->cls); | 1407 | plugin->api->estimate_size (plugin->api->cls, &payload); |
1408 | } | 1408 | } |
1409 | if (GNUNET_YES == refresh_bf) | 1409 | if (GNUNET_YES == refresh_bf) |
1410 | { | 1410 | { |