diff options
author | Matthias Wachs <wachs@net.in.tum.de> | 2013-05-27 07:40:13 +0000 |
---|---|---|
committer | Matthias Wachs <wachs@net.in.tum.de> | 2013-05-27 07:40:13 +0000 |
commit | 34df5eb4d8ac2bfd3835a10e7ed8b9fe91a6452b (patch) | |
tree | bece45a52ab545815f9ab6c6d16aa98ab9840b71 | |
parent | b14234177c2bf7c01c73c46d400b4796ca98cd6d (diff) | |
download | gnunet-34df5eb4d8ac2bfd3835a10e7ed8b9fe91a6452b.tar.gz gnunet-34df5eb4d8ac2bfd3835a10e7ed8b9fe91a6452b.zip |
additional check
-rw-r--r-- | src/transport/plugin_transport_tcp.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/transport/plugin_transport_tcp.c b/src/transport/plugin_transport_tcp.c index d5b299dc2..b2cb18916 100644 --- a/src/transport/plugin_transport_tcp.c +++ b/src/transport/plugin_transport_tcp.c | |||
@@ -2456,7 +2456,8 @@ libgnunet_plugin_transport_tcp_init (void *cls) | |||
2456 | ("TCP transport advertises itself as being on port %llu\n"), | 2456 | ("TCP transport advertises itself as being on port %llu\n"), |
2457 | aport); | 2457 | aport); |
2458 | /* Initially set connections to 0 */ | 2458 | /* Initially set connections to 0 */ |
2459 | GNUNET_STATISTICS_set(plugin->env->stats, | 2459 | GNUNET_assert (NULL != plugin->env->stats); |
2460 | GNUNET_STATISTICS_set (plugin->env->stats, | ||
2460 | gettext_noop ("# TCP sessions active"), 0, | 2461 | gettext_noop ("# TCP sessions active"), 0, |
2461 | GNUNET_NO); | 2462 | GNUNET_NO); |
2462 | return api; | 2463 | return api; |