diff options
-rw-r--r-- | src/nse/gnunet-service-nse.c | 4 |
1 files changed, 1 insertions, 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) | |||
434 | uint32_t i; | 434 | uint32_t i; |
435 | double d; | 435 | double d; |
436 | 436 | ||
437 | if (matching_bits == 0) | 437 | d = get_matching_bits_delay (matching_bits); |
438 | return GNUNET_TIME_UNIT_ZERO; | ||
439 | d = get_matching_bits_delay (matching_bits - 1); | ||
440 | i = (uint32_t) (d / (double) (hop_count_max + 1)); | 438 | i = (uint32_t) (d / (double) (hop_count_max + 1)); |
441 | #if DEBUG_NSE | 439 | #if DEBUG_NSE |
442 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, | 440 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, |