diff options
author | Nathan S. Evans <evans@in.tum.de> | 2010-05-04 12:36:12 +0000 |
---|---|---|
committer | Nathan S. Evans <evans@in.tum.de> | 2010-05-04 12:36:12 +0000 |
commit | 258667cf7131a7a710965d1220604a185a07fb3b (patch) | |
tree | d123f5abff4b63f8330a92a5927f7f394912d230 /src/transport/plugin_transport_udp.c | |
parent | 3d8988d8bda24d394d72302cefd0d7d76336d068 (diff) | |
download | gnunet-258667cf7131a7a710965d1220604a185a07fb3b.tar.gz gnunet-258667cf7131a7a710965d1220604a185a07fb3b.zip |
get rid of duplicate statistics handle in each plugin
Diffstat (limited to 'src/transport/plugin_transport_udp.c')
-rw-r--r-- | src/transport/plugin_transport_udp.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/transport/plugin_transport_udp.c b/src/transport/plugin_transport_udp.c index 689d75b74..5a5492858 100644 --- a/src/transport/plugin_transport_udp.c +++ b/src/transport/plugin_transport_udp.c | |||
@@ -140,11 +140,6 @@ struct Plugin | |||
140 | struct GNUNET_TRANSPORT_PluginEnvironment *env; | 140 | struct GNUNET_TRANSPORT_PluginEnvironment *env; |
141 | 141 | ||
142 | /** | 142 | /** |
143 | * Handle for the statistics service. | ||
144 | */ | ||
145 | struct GNUNET_STATISTICS_Handle *statistics; | ||
146 | |||
147 | /** | ||
148 | * Handle to the network service. | 143 | * Handle to the network service. |
149 | */ | 144 | */ |
150 | struct GNUNET_SERVICE_Context *service; | 145 | struct GNUNET_SERVICE_Context *service; |
@@ -945,7 +940,6 @@ libgnunet_plugin_transport_udp_init (void *cls) | |||
945 | plugin->open_port = bport; | 940 | plugin->open_port = bport; |
946 | plugin->adv_port = aport; | 941 | plugin->adv_port = aport; |
947 | plugin->env = env; | 942 | plugin->env = env; |
948 | plugin->statistics = NULL; | ||
949 | api = GNUNET_malloc (sizeof (struct GNUNET_TRANSPORT_PluginFunctions)); | 943 | api = GNUNET_malloc (sizeof (struct GNUNET_TRANSPORT_PluginFunctions)); |
950 | api->cls = plugin; | 944 | api->cls = plugin; |
951 | 945 | ||