From 2f5ff51a670d99bfa3a5f1a94ced40c0e48e9a05 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Wed, 21 Oct 2009 12:46:53 +0000 Subject: [PATCH] fix --- src/datastore/plugin_datastore_sqlite.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/datastore/plugin_datastore_sqlite.c b/src/datastore/plugin_datastore_sqlite.c index b5d5990c6..3f05280a8 100644 --- a/src/datastore/plugin_datastore_sqlite.c +++ b/src/datastore/plugin_datastore_sqlite.c @@ -1580,7 +1580,7 @@ libgnunet_plugin_datastore_sqlite_init (void *cls) return NULL; /* can only initialize once! */ memset (&plugin, 0, sizeof(struct Plugin)); plugin.env = env; - GNUNET_ARM_start_services (env->cfg, env->sched, "statistics"); + GNUNET_ARM_start_services (env->cfg, env->sched, "statistics", NULL); plugin.statistics = GNUNET_STATISTICS_create (env->sched, "sqlite", env->cfg); @@ -1595,7 +1595,7 @@ libgnunet_plugin_datastore_sqlite_init (void *cls) database_setup (env->cfg, &plugin)) { database_shutdown (&plugin); - GNUNET_ARM_stop_services (env->cfg, env->sched, "statistics"); + GNUNET_ARM_stop_services (env->cfg, env->sched, "statistics", NULL); return NULL; } api = GNUNET_malloc (sizeof (struct GNUNET_DATASTORE_PluginFunctions)); @@ -1637,7 +1637,7 @@ libgnunet_plugin_datastore_sqlite_done (void *cls) plugin->env = NULL; plugin->payload = 0; GNUNET_STATISTICS_destroy (plugin->statistics); - GNUNET_ARM_stop_services (plugin->env->cfg, plugin->env->sched, "statistics"); + GNUNET_ARM_stop_services (plugin->env->cfg, plugin->env->sched, "statistics", NULL); GNUNET_free (api); if (fn != NULL) { -- 2.25.1