diff options
author | Nathan S. Evans <evans@in.tum.de> | 2011-01-14 18:27:17 +0000 |
---|---|---|
committer | Nathan S. Evans <evans@in.tum.de> | 2011-01-14 18:27:17 +0000 |
commit | cce221d6d05b2508275ac8e594ed54618ea6cb0f (patch) | |
tree | 72bc9fd190f88ea3d9d0c2a0da2a800ec81e9ac7 /src | |
parent | 18a2da14069b09486b2499eca6720149505bc9c5 (diff) | |
download | gnunet-cce221d6d05b2508275ac8e594ed54618ea6cb0f.tar.gz gnunet-cce221d6d05b2508275ac8e594ed54618ea6cb0f.zip |
loop forever
Diffstat (limited to 'src')
-rw-r--r-- | src/dht/gnunet-dht-driver.c | 1 |
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 | ||