aboutsummaryrefslogtreecommitdiff
path: root/src/transport/plugin_transport_udp_nat.c
diff options
context:
space:
mode:
authorNathan S. Evans <evans@in.tum.de>2010-05-04 12:36:12 +0000
committerNathan S. Evans <evans@in.tum.de>2010-05-04 12:36:12 +0000
commit258667cf7131a7a710965d1220604a185a07fb3b (patch)
treed123f5abff4b63f8330a92a5927f7f394912d230 /src/transport/plugin_transport_udp_nat.c
parent3d8988d8bda24d394d72302cefd0d7d76336d068 (diff)
downloadgnunet-258667cf7131a7a710965d1220604a185a07fb3b.tar.gz
gnunet-258667cf7131a7a710965d1220604a185a07fb3b.zip
get rid of duplicate statistics handle in each plugin
Diffstat (limited to 'src/transport/plugin_transport_udp_nat.c')
-rw-r--r--src/transport/plugin_transport_udp_nat.c6
1 files changed, 0 insertions, 6 deletions
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
@@ -298,11 +298,6 @@ struct Plugin
298 struct GNUNET_TRANSPORT_PluginEnvironment *env; 298 struct GNUNET_TRANSPORT_PluginEnvironment *env;
299 299
300 /** 300 /**
301 * Handle for the statistics service.
302 */
303 struct GNUNET_STATISTICS_Handle *statistics;
304
305 /**
306 * Handle to the network service. 301 * Handle to the network service.
307 */ 302 */
308 struct GNUNET_SERVICE_Context *service; 303 struct GNUNET_SERVICE_Context *service;
@@ -1697,7 +1692,6 @@ libgnunet_plugin_transport_udp_nat_init (void *cls)
1697 plugin->num_ports = UDP_NAT_LISTEN_PORTS; 1692 plugin->num_ports = UDP_NAT_LISTEN_PORTS;
1698 1693
1699 plugin->env = env; 1694 plugin->env = env;
1700 plugin->statistics = NULL;
1701 api = GNUNET_malloc (sizeof (struct GNUNET_TRANSPORT_PluginFunctions)); 1695 api = GNUNET_malloc (sizeof (struct GNUNET_TRANSPORT_PluginFunctions));
1702 api->cls = plugin; 1696 api->cls = plugin;
1703 1697