[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r16786 - gnunet/src/dht
From: |
gnunet |
Subject: |
[GNUnet-SVN] r16786 - gnunet/src/dht |
Date: |
Tue, 13 Sep 2011 11:56:39 +0200 |
Author: grothoff
Date: 2011-09-13 11:56:39 +0200 (Tue, 13 Sep 2011)
New Revision: 16786
Modified:
gnunet/src/dht/gnunet-service-dht.c
Log:
simplify
Modified: gnunet/src/dht/gnunet-service-dht.c
===================================================================
--- gnunet/src/dht/gnunet-service-dht.c 2011-09-13 09:54:01 UTC (rev 16785)
+++ gnunet/src/dht/gnunet-service-dht.c 2011-09-13 09:56:39 UTC (rev 16786)
@@ -3083,10 +3083,9 @@
{
if (hop_count == 0)
return kademlia_replication;
- else if (hop_count < max_hops)
+ if (hop_count < max_hops)
return 1;
- else
- return 0;
+ return 0;
}
/* FIXME: the smaller we think the network is the more lenient we should be
for
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r16786 - gnunet/src/dht,
gnunet <=