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_tcp.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_tcp.c')
-rw-r--r-- | src/transport/plugin_transport_tcp.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/transport/plugin_transport_tcp.c b/src/transport/plugin_transport_tcp.c index d4212631a..e0e2b04f8 100644 --- a/src/transport/plugin_transport_tcp.c +++ b/src/transport/plugin_transport_tcp.c | |||
@@ -254,11 +254,6 @@ struct Plugin | |||
254 | struct Session *sessions; | 254 | struct Session *sessions; |
255 | 255 | ||
256 | /** | 256 | /** |
257 | * Handle for the statistics service. | ||
258 | */ | ||
259 | struct GNUNET_STATISTICS_Handle *statistics; | ||
260 | |||
261 | /** | ||
262 | * Handle to the network service. | 257 | * Handle to the network service. |
263 | */ | 258 | */ |
264 | struct GNUNET_SERVICE_Context *service; | 259 | struct GNUNET_SERVICE_Context *service; |
@@ -1552,7 +1547,6 @@ libgnunet_plugin_transport_tcp_init (void *cls) | |||
1552 | plugin->adv_port = aport; | 1547 | plugin->adv_port = aport; |
1553 | plugin->env = env; | 1548 | plugin->env = env; |
1554 | plugin->lsock = NULL; | 1549 | plugin->lsock = NULL; |
1555 | plugin->statistics = NULL; | ||
1556 | api = GNUNET_malloc (sizeof (struct GNUNET_TRANSPORT_PluginFunctions)); | 1550 | api = GNUNET_malloc (sizeof (struct GNUNET_TRANSPORT_PluginFunctions)); |
1557 | api->cls = plugin; | 1551 | api->cls = plugin; |
1558 | api->send = &tcp_plugin_send; | 1552 | api->send = &tcp_plugin_send; |