diff options
author | Matthias Wachs <wachs@net.in.tum.de> | 2012-04-02 09:27:26 +0000 |
---|---|---|
committer | Matthias Wachs <wachs@net.in.tum.de> | 2012-04-02 09:27:26 +0000 |
commit | dc2fdbef104fb5a1aa752fd1d5c9e9ab0992c914 (patch) | |
tree | 2362111e6359f3625cde9bd85e3df1f9644ffd63 /src/transport/plugin_transport_tcp.c | |
parent | b92729bc3154fddd792be3bf88bd1a2ada15fc07 (diff) | |
download | gnunet-dc2fdbef104fb5a1aa752fd1d5c9e9ab0992c914.tar.gz gnunet-dc2fdbef104fb5a1aa752fd1d5c9e9ab0992c914.zip |
- set initially number of tcp sessions to 0
Diffstat (limited to 'src/transport/plugin_transport_tcp.c')
-rw-r--r-- | src/transport/plugin_transport_tcp.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/transport/plugin_transport_tcp.c b/src/transport/plugin_transport_tcp.c index 1850c3fda..95041d899 100644 --- a/src/transport/plugin_transport_tcp.c +++ b/src/transport/plugin_transport_tcp.c | |||
@@ -2195,6 +2195,10 @@ libgnunet_plugin_transport_tcp_init (void *cls) | |||
2195 | _ | 2195 | _ |
2196 | ("TCP transport advertises itself as being on port %llu\n"), | 2196 | ("TCP transport advertises itself as being on port %llu\n"), |
2197 | aport); | 2197 | aport); |
2198 | /* Initially set connections to 0 */ | ||
2199 | GNUNET_STATISTICS_set(plugin->env->stats, | ||
2200 | gettext_noop ("# TCP sessions active"), 0, | ||
2201 | GNUNET_NO); | ||
2198 | return api; | 2202 | return api; |
2199 | } | 2203 | } |
2200 | 2204 | ||