aboutsummaryrefslogtreecommitdiff
path: root/src/datastore/plugin_datastore_sqlite.c
diff options
context:
space:
mode:
authorgrothoff <grothoff@140774ce-b5e7-0310-ab8b-a85725594a96>2009-10-21 21:38:56 +0000
committergrothoff <grothoff@140774ce-b5e7-0310-ab8b-a85725594a96>2009-10-21 21:38:56 +0000
commit4d2e6c02da923f362ee84034c7fd9193f7cdc3cd (patch)
tree28b9610b928747186bfe78b682a85dbb18e4a576 /src/datastore/plugin_datastore_sqlite.c
parentb09cca28cbfae1accad4323b9ed048a411fcbef2 (diff)
fix
git-svn-id: https://gnunet.org/svn/gnunet@9239 140774ce-b5e7-0310-ab8b-a85725594a96
Diffstat (limited to 'src/datastore/plugin_datastore_sqlite.c')
-rw-r--r--src/datastore/plugin_datastore_sqlite.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/datastore/plugin_datastore_sqlite.c b/src/datastore/plugin_datastore_sqlite.c
index 2e8b53e21c..57ff6266f3 100644
--- a/src/datastore/plugin_datastore_sqlite.c
+++ b/src/datastore/plugin_datastore_sqlite.c
@@ -25,7 +25,6 @@
*/
#include "platform.h"
-#include "gnunet_arm_service.h"
#include "gnunet_statistics_service.h"
#include "plugin_datastore.h"
#include <sqlite3.h>
@@ -1580,7 +1579,6 @@ 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", NULL);
plugin.statistics = GNUNET_STATISTICS_create (env->sched,
"sqlite",
env->cfg);
@@ -1595,7 +1593,6 @@ libgnunet_plugin_datastore_sqlite_init (void *cls)
database_setup (env->cfg, &plugin))
{
database_shutdown (&plugin);
- GNUNET_ARM_stop_services (env->cfg, env->sched, "statistics", NULL);
return NULL;
}
api = GNUNET_malloc (sizeof (struct GNUNET_DATASTORE_PluginFunctions));
@@ -1635,7 +1632,6 @@ libgnunet_plugin_datastore_sqlite_done (void *cls)
fn = GNUNET_strdup (plugin->fn);
database_shutdown (plugin);
GNUNET_STATISTICS_destroy (plugin->statistics);
- GNUNET_ARM_stop_services (plugin->env->cfg, plugin->env->sched, "statistics", NULL);
plugin->env = NULL;
plugin->payload = 0;
GNUNET_free (api);