diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/nse/gnunet-service-nse.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/nse/gnunet-service-nse.c b/src/nse/gnunet-service-nse.c index a396cf9cb..8aff436cb 100644 --- a/src/nse/gnunet-service-nse.c +++ b/src/nse/gnunet-service-nse.c | |||
@@ -59,7 +59,7 @@ | |||
59 | * production). The associated code should also probably be removed | 59 | * production). The associated code should also probably be removed |
60 | * once we're done with experiments. | 60 | * once we're done with experiments. |
61 | */ | 61 | */ |
62 | #define ENABLE_HISTOGRAM GNUNET_YES | 62 | #define ENABLE_HISTOGRAM GNUNET_NO |
63 | 63 | ||
64 | /** | 64 | /** |
65 | * Over how many values do we calculate the weighted average? | 65 | * Over how many values do we calculate the weighted average? |
@@ -1022,7 +1022,7 @@ handle_p2p_size_estimate (void *cls, const struct GNUNET_PeerIdentity *peer, | |||
1022 | 1022 | ||
1023 | #if ENABLE_HISTOGRAM | 1023 | #if ENABLE_HISTOGRAM |
1024 | if (NULL != wh) | 1024 | if (NULL != wh) |
1025 | GNUNET_BIO_write_int64 (wh, GNUNET_TIME_absolute_get ().abs_value); | 1025 | GNUNET_break (GNUNET_OK == GNUNET_BIO_write_int64 (wh, GNUNET_TIME_absolute_get ().abs_value)); |
1026 | #endif | 1026 | #endif |
1027 | incoming_flood = (const struct GNUNET_NSE_FloodMessage *) message; | 1027 | incoming_flood = (const struct GNUNET_NSE_FloodMessage *) message; |
1028 | GNUNET_STATISTICS_update (stats, "# flood messages received", 1, GNUNET_NO); | 1028 | GNUNET_STATISTICS_update (stats, "# flood messages received", 1, GNUNET_NO); |
@@ -1311,7 +1311,7 @@ shutdown_task (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc) | |||
1311 | #if ENABLE_HISTOGRAM | 1311 | #if ENABLE_HISTOGRAM |
1312 | if (wh != NULL) | 1312 | if (wh != NULL) |
1313 | { | 1313 | { |
1314 | GNUNET_BIO_write_close (wh); | 1314 | GNUNET_break (GNUNET_OK == GNUNET_BIO_write_close (wh)); |
1315 | wh = NULL; | 1315 | wh = NULL; |
1316 | } | 1316 | } |
1317 | #endif | 1317 | #endif |