projects
/
oweals
/
gnunet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f43a1a1
)
- Fix contidion for next round
author
Bart Polot
<bart@net.in.tum.de>
Thu, 8 Mar 2012 19:27:39 +0000
(19:27 +0000)
committer
Bart Polot
<bart@net.in.tum.de>
Thu, 8 Mar 2012 19:27:39 +0000
(19:27 +0000)
src/nse/gnunet-service-nse.c
patch
|
blob
|
history
diff --git
a/src/nse/gnunet-service-nse.c
b/src/nse/gnunet-service-nse.c
index 12763583c52a78924de8f03b1221e4ab429f1def..9a5933f47fab697da015de825536a93f1afc262b 100644
(file)
--- 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 */