diff options
author | Nathan S. Evans <evans@in.tum.de> | 2010-11-23 11:48:54 +0000 |
---|---|---|
committer | Nathan S. Evans <evans@in.tum.de> | 2010-11-23 11:48:54 +0000 |
commit | b37e8c1c0eda90b626076167387e2bd7cbe2d559 (patch) | |
tree | fecc3f003041902c522e61603f1c5a3b783317b9 /src/dht/gnunet-service-dht.c | |
parent | 11489754ee4b080b31dc68471e3dc3c7ae2885ce (diff) | |
download | gnunet-b37e8c1c0eda90b626076167387e2bd7cbe2d559.tar.gz gnunet-b37e8c1c0eda90b626076167387e2bd7cbe2d559.zip |
specify total connections desired after find peer requests for dht testing, use float for better precision in replication
Diffstat (limited to 'src/dht/gnunet-service-dht.c')
-rw-r--r-- | src/dht/gnunet-service-dht.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dht/gnunet-service-dht.c b/src/dht/gnunet-service-dht.c index 00fa62398..823ad0f55 100644 --- a/src/dht/gnunet-service-dht.c +++ b/src/dht/gnunet-service-dht.c | |||
@@ -2727,7 +2727,7 @@ get_forward_count (unsigned int hop_count, size_t target_replication) | |||
2727 | { | 2727 | { |
2728 | uint32_t random_value; | 2728 | uint32_t random_value; |
2729 | unsigned int forward_count; | 2729 | unsigned int forward_count; |
2730 | unsigned int target_value; | 2730 | float target_value; |
2731 | unsigned int diameter; | 2731 | unsigned int diameter; |
2732 | 2732 | ||
2733 | /** | 2733 | /** |