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:
040e5a7
)
fix
author
Christian Grothoff
<christian@grothoff.org>
Tue, 26 Jul 2011 08:21:25 +0000
(08:21 +0000)
committer
Christian Grothoff
<christian@grothoff.org>
Tue, 26 Jul 2011 08:21:25 +0000
(08:21 +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 45f8edb9d6b5181aa461e13e5ec3dc18c990a94e..4ee620a045ae7c7c2a0646436c52898b601903b6 100644
(file)
--- a/
src/nse/gnunet-service-nse.c
+++ b/
src/nse/gnunet-service-nse.c
@@
-326,11
+326,11
@@
setup_estimate_message (struct GNUNET_NSE_ClientMessage *em)
em->header.type
= htons (GNUNET_MESSAGE_TYPE_NSE_ESTIMATE);
em->reserved = htonl (0);
- em->size_estimate = mean -
0.5
;
+ em->size_estimate = mean -
1.0/3.0
;
em->std_deviation = std_dev;
GNUNET_STATISTICS_set (stats,
"# nodes in the network (estimate)",
- (uint64_t) pow (2, mean -
0.5
), GNUNET_NO);
+ (uint64_t) pow (2, mean -
1.0/3.0
), GNUNET_NO);
}