From 5a663c3865727c909d6a1c05eef2a7e17a1c4bb4 Mon Sep 17 00:00:00 2001 From: Bart Polot Date: Thu, 8 Mar 2012 19:27:39 +0000 Subject: - Fix contidion for next round --- src/nse/gnunet-service-nse.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src') 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, else if (ts.abs_value == current_timestamp.abs_value - gnunet_nse_interval.rel_value) idx = (estimate_index + HISTORY_SIZE - 1) % HISTORY_SIZE; - else if (ts.abs_value == - next_timestamp.abs_value - gnunet_nse_interval.rel_value) + else if (ts.abs_value == next_timestamp.abs_value) { if (matching_bits <= ntohl (next_message.matching_bits)) return GNUNET_OK; /* ignore, simply too early/late */ -- cgit v1.2.3