aboutsummaryrefslogtreecommitdiff
path: root/src/nse
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2011-12-08 12:51:14 +0000
committerChristian Grothoff <christian@grothoff.org>2011-12-08 12:51:14 +0000
commitfdae0c44ece2898cb824aee297c02f8da0a2d8ea (patch)
tree2e3431098424ca5054fc3db4aefdc6b002cfa1b5 /src/nse
parent5cae9ea1a811e1761cf05ba058c3067d8344bea6 (diff)
downloadgnunet-fdae0c44ece2898cb824aee297c02f8da0a2d8ea.tar.gz
gnunet-fdae0c44ece2898cb824aee297c02f8da0a2d8ea.zip
-eliminate special case, no justification for why it is there
Diffstat (limited to 'src/nse')
-rw-r--r--src/nse/gnunet-service-nse.c4
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,