aboutsummaryrefslogtreecommitdiff
path: root/src/nse
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2011-07-27 14:20:10 +0000
committerChristian Grothoff <christian@grothoff.org>2011-07-27 14:20:10 +0000
commitbc48f08a7b44801a003c074217b658dce93ed146 (patch)
tree19339abf15822e94b7c3010fe989be7072911a67 /src/nse
parenta1d268aceb896110b5493d1c0b80a053443dbfe2 (diff)
downloadgnunet-bc48f08a7b44801a003c074217b658dce93ed146.tar.gz
gnunet-bc48f08a7b44801a003c074217b658dce93ed146.zip
fix
Diffstat (limited to 'src/nse')
-rw-r--r--src/nse/gnunet-service-nse.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/nse/gnunet-service-nse.c b/src/nse/gnunet-service-nse.c
index 3d980ca26..ab54f8681 100644
--- a/src/nse/gnunet-service-nse.c
+++ b/src/nse/gnunet-service-nse.c
@@ -1066,6 +1066,8 @@ handle_p2p_size_estimate(void *cls,
1066 peer_entry->previous_round = GNUNET_YES; 1066 peer_entry->previous_round = GNUNET_YES;
1067 } 1067 }
1068 } 1068 }
1069 if (matching_bits == ntohl (size_estimate_messages[idx].matching_bits))
1070 return GNUNET_OK;
1069 if (matching_bits <= ntohl (size_estimate_messages[idx].matching_bits)) 1071 if (matching_bits <= ntohl (size_estimate_messages[idx].matching_bits))
1070 { 1072 {
1071 if ( (idx < estimate_index) && 1073 if ( (idx < estimate_index) &&