- Fix contidion for next round
authorBart Polot <bart@net.in.tum.de>
Thu, 8 Mar 2012 19:27:39 +0000 (19:27 +0000)
committerBart Polot <bart@net.in.tum.de>
Thu, 8 Mar 2012 19:27:39 +0000 (19:27 +0000)
src/nse/gnunet-service-nse.c

index 12763583c52a78924de8f03b1221e4ab429f1def..9a5933f47fab697da015de825536a93f1afc262b 100644 (file)
@@ -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 */