aboutsummaryrefslogtreecommitdiff
path: root/src/nse
diff options
context:
space:
mode:
authorBart Polot <bart@net.in.tum.de>2012-03-08 19:27:39 +0000
committerBart Polot <bart@net.in.tum.de>2012-03-08 19:27:39 +0000
commit5a663c3865727c909d6a1c05eef2a7e17a1c4bb4 (patch)
tree590fcb2330394f0a3b564180cb265d630ffe09ef /src/nse
parentf43a1a11fa807caf1f3dc909c929c50a784ae3b7 (diff)
downloadgnunet-5a663c3865727c909d6a1c05eef2a7e17a1c4bb4.tar.gz
gnunet-5a663c3865727c909d6a1c05eef2a7e17a1c4bb4.zip
- Fix contidion for next round
Diffstat (limited to 'src/nse')
-rw-r--r--src/nse/gnunet-service-nse.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/nse/gnunet-service-nse.c b/src/nse/gnunet-service-nse.c
index 12763583c..9a5933f47 100644
--- a/src/nse/gnunet-service-nse.c
+++ b/src/nse/gnunet-service-nse.c
@@ -1061,8 +1061,7 @@ handle_p2p_size_estimate (void *cls, const struct GNUNET_PeerIdentity *peer,
1061 else if (ts.abs_value == 1061 else if (ts.abs_value ==
1062 current_timestamp.abs_value - gnunet_nse_interval.rel_value) 1062 current_timestamp.abs_value - gnunet_nse_interval.rel_value)
1063 idx = (estimate_index + HISTORY_SIZE - 1) % HISTORY_SIZE; 1063 idx = (estimate_index + HISTORY_SIZE - 1) % HISTORY_SIZE;
1064 else if (ts.abs_value == 1064 else if (ts.abs_value == next_timestamp.abs_value)
1065 next_timestamp.abs_value - gnunet_nse_interval.rel_value)
1066 { 1065 {
1067 if (matching_bits <= ntohl (next_message.matching_bits)) 1066 if (matching_bits <= ntohl (next_message.matching_bits))
1068 return GNUNET_OK; /* ignore, simply too early/late */ 1067 return GNUNET_OK; /* ignore, simply too early/late */