aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNathan S. Evans <evans@in.tum.de>2011-01-14 18:27:17 +0000
committerNathan S. Evans <evans@in.tum.de>2011-01-14 18:27:17 +0000
commitcce221d6d05b2508275ac8e594ed54618ea6cb0f (patch)
tree72bc9fd190f88ea3d9d0c2a0da2a800ec81e9ac7
parent18a2da14069b09486b2499eca6720149505bc9c5 (diff)
downloadgnunet-cce221d6d05b2508275ac8e594ed54618ea6cb0f.tar.gz
gnunet-cce221d6d05b2508275ac8e594ed54618ea6cb0f.zip
loop forever
-rw-r--r--src/dht/gnunet-dht-driver.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/dht/gnunet-dht-driver.c b/src/dht/gnunet-dht-driver.c
index 0270953ed..58dad873e 100644
--- a/src/dht/gnunet-dht-driver.c
+++ b/src/dht/gnunet-dht-driver.c
@@ -2404,6 +2404,7 @@ choose_next_malicious (struct GNUNET_TESTING_PeerGroup *pg, struct GNUNET_CONTAI
2404 while (GNUNET_YES == GNUNET_CONTAINER_bloomfilter_test (bloom, &uid_hash)) 2404 while (GNUNET_YES == GNUNET_CONTAINER_bloomfilter_test (bloom, &uid_hash))
2405 { 2405 {
2406 nearest = GNUNET_CRYPTO_random_u32(GNUNET_CRYPTO_QUALITY_WEAK, num_peers); 2406 nearest = GNUNET_CRYPTO_random_u32(GNUNET_CRYPTO_QUALITY_WEAK, num_peers);
2407 hash_from_uid(nearest, &uid_hash);
2407 } 2408 }
2408 } 2409 }
2409 2410