From fdae0c44ece2898cb824aee297c02f8da0a2d8ea Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Thu, 8 Dec 2011 12:51:14 +0000 Subject: [PATCH] -eliminate special case, no justification for why it is there --- src/nse/gnunet-service-nse.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/nse/gnunet-service-nse.c b/src/nse/gnunet-service-nse.c index 06b459beb..5bf320ac4 100644 --- a/src/nse/gnunet-service-nse.c +++ b/src/nse/gnunet-service-nse.c @@ -434,9 +434,7 @@ get_delay_randomization (uint32_t matching_bits) uint32_t i; double d; - if (matching_bits == 0) - return GNUNET_TIME_UNIT_ZERO; - d = get_matching_bits_delay (matching_bits - 1); + d = get_matching_bits_delay (matching_bits); i = (uint32_t) (d / (double) (hop_count_max + 1)); #if DEBUG_NSE GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, -- 2.25.1