diff options
author | Christian Grothoff <christian@grothoff.org> | 2010-05-07 23:42:28 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2010-05-07 23:42:28 +0000 |
commit | bfa8316970a7dce659585a038458bc41776ed965 (patch) | |
tree | d6c23c6731fe3b8ae2f5206fe7172be9b4db1f10 /src/datastore/gnunet-service-datastore.c | |
parent | 6e659b41e60f82e0a5d419f2c5c818a340b0917c (diff) | |
download | gnunet-bfa8316970a7dce659585a038458bc41776ed965.tar.gz gnunet-bfa8316970a7dce659585a038458bc41776ed965.zip |
stuff
Diffstat (limited to 'src/datastore/gnunet-service-datastore.c')
-rw-r--r-- | src/datastore/gnunet-service-datastore.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/datastore/gnunet-service-datastore.c b/src/datastore/gnunet-service-datastore.c index 6d0f29671..fc0587cf7 100644 --- a/src/datastore/gnunet-service-datastore.c +++ b/src/datastore/gnunet-service-datastore.c | |||
@@ -26,7 +26,6 @@ | |||
26 | 26 | ||
27 | #include "platform.h" | 27 | #include "platform.h" |
28 | #include "gnunet_util_lib.h" | 28 | #include "gnunet_util_lib.h" |
29 | #include "gnunet_arm_service.h" | ||
30 | #include "gnunet_protocols.h" | 29 | #include "gnunet_protocols.h" |
31 | #include "gnunet_statistics_service.h" | 30 | #include "gnunet_statistics_service.h" |
32 | #include "plugin_datastore.h" | 31 | #include "plugin_datastore.h" |
@@ -1304,7 +1303,6 @@ unload_task (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc) | |||
1304 | GNUNET_CONTAINER_bloomfilter_free (filter); | 1303 | GNUNET_CONTAINER_bloomfilter_free (filter); |
1305 | filter = NULL; | 1304 | filter = NULL; |
1306 | } | 1305 | } |
1307 | GNUNET_ARM_stop_services (cfg, tc->sched, "statistics", NULL); | ||
1308 | if (stats != NULL) | 1306 | if (stats != NULL) |
1309 | { | 1307 | { |
1310 | GNUNET_STATISTICS_destroy (stats, GNUNET_YES); | 1308 | GNUNET_STATISTICS_destroy (stats, GNUNET_YES); |
@@ -1453,13 +1451,11 @@ run (void *cls, | |||
1453 | } | 1451 | } |
1454 | return; | 1452 | return; |
1455 | } | 1453 | } |
1456 | GNUNET_ARM_start_services (cfg, sched, "statistics", NULL); | ||
1457 | plugin = load_plugin (); | 1454 | plugin = load_plugin (); |
1458 | if (NULL == plugin) | 1455 | if (NULL == plugin) |
1459 | { | 1456 | { |
1460 | GNUNET_CONTAINER_bloomfilter_free (filter); | 1457 | GNUNET_CONTAINER_bloomfilter_free (filter); |
1461 | filter = NULL; | 1458 | filter = NULL; |
1462 | GNUNET_ARM_stop_services (cfg, sched, "statistics", NULL); | ||
1463 | if (stats != NULL) | 1459 | if (stats != NULL) |
1464 | { | 1460 | { |
1465 | GNUNET_STATISTICS_destroy (stats, GNUNET_YES); | 1461 | GNUNET_STATISTICS_destroy (stats, GNUNET_YES); |