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_udp_nat.c | 6 ------ 1 file changed, 6 deletions(-) (limited to 'src/transport/plugin_transport_udp_nat.c') diff --git a/src/transport/plugin_transport_udp_nat.c b/src/transport/plugin_transport_udp_nat.c index 531f2ae10..a48e958ba 100644 --- a/src/transport/plugin_transport_udp_nat.c +++ b/src/transport/plugin_transport_udp_nat.c @@ -297,11 +297,6 @@ struct Plugin */ struct GNUNET_TRANSPORT_PluginEnvironment *env; - /** - * Handle for the statistics service. - */ - struct GNUNET_STATISTICS_Handle *statistics; - /** * Handle to the network service. */ @@ -1697,7 +1692,6 @@ libgnunet_plugin_transport_udp_nat_init (void *cls) plugin->num_ports = UDP_NAT_LISTEN_PORTS; plugin->env = env; - plugin->statistics = NULL; api = GNUNET_malloc (sizeof (struct GNUNET_TRANSPORT_PluginFunctions)); api->cls = plugin; -- cgit v1.2.3