diff options
Diffstat (limited to 'src/dht/gnunet-service-dht_nse.c')
-rw-r--r-- | src/dht/gnunet-service-dht_nse.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/dht/gnunet-service-dht_nse.c b/src/dht/gnunet-service-dht_nse.c index 0a662ec7b..777998967 100644 --- a/src/dht/gnunet-service-dht_nse.c +++ b/src/dht/gnunet-service-dht_nse.c | |||
@@ -56,10 +56,10 @@ update_network_size_estimate (void *cls, struct GNUNET_TIME_Absolute timestamp, | |||
56 | double logestimate, double std_dev) | 56 | double logestimate, double std_dev) |
57 | { | 57 | { |
58 | GNUNET_STATISTICS_update (GDS_stats, | 58 | GNUNET_STATISTICS_update (GDS_stats, |
59 | gettext_noop ("# Network size estimates received"), 1, | 59 | gettext_noop ("# Network size estimates received"), |
60 | GNUNET_NO); | 60 | 1, GNUNET_NO); |
61 | /* do not allow estimates < 0.5 */ | 61 | /* do not allow estimates < 0.5 */ |
62 | log_of_network_size_estimate = GNUNET_MAX (0.5, logestimate); | 62 | log_of_network_size_estimate = GNUNET_MAX (0.5, logestimate); |
63 | } | 63 | } |
64 | 64 | ||
65 | 65 | ||
@@ -90,9 +90,9 @@ GDS_NSE_init () | |||
90 | */ | 90 | */ |
91 | void | 91 | void |
92 | GDS_NSE_done () | 92 | GDS_NSE_done () |
93 | { | 93 | { |
94 | if (NULL != nse) | 94 | if (NULL != nse) |
95 | { | 95 | { |
96 | GNUNET_NSE_disconnect (nse); | 96 | GNUNET_NSE_disconnect (nse); |
97 | nse = NULL; | 97 | nse = NULL; |
98 | } | 98 | } |