From 258667cf7131a7a710965d1220604a185a07fb3b Mon Sep 17 00:00:00 2001 From: "Nathan S. Evans" Date: Tue, 4 May 2010 12:36:12 +0000 Subject: get rid of duplicate statistics handle in each plugin --- src/transport/plugin_transport_template.c | 6 ------ 1 file changed, 6 deletions(-) (limited to 'src/transport/plugin_transport_template.c') diff --git a/src/transport/plugin_transport_template.c b/src/transport/plugin_transport_template.c index f83329ffa..f5eec84d3 100644 --- a/src/transport/plugin_transport_template.c +++ b/src/transport/plugin_transport_template.c @@ -122,11 +122,6 @@ struct Plugin */ struct Session *sessions; - /** - * Handle for the statistics service. - */ - struct GNUNET_STATISTICS_Handle *statistics; - }; /** @@ -282,7 +277,6 @@ gnunet_plugin_transport_template_init (void *cls) plugin = GNUNET_malloc (sizeof (struct Plugin)); plugin->env = env; - plugin->statistics = NULL; api = GNUNET_malloc (sizeof (struct GNUNET_TRANSPORT_PluginFunctions)); api->cls = plugin; api->send = &template_plugin_send; -- cgit v1.2.3