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:
8dfe3b5
)
- freebsd doesn't have log2
author
Bart Polot
<bart@net.in.tum.de>
Mon, 1 Jul 2013 13:05:38 +0000
(13:05 +0000)
committer
Bart Polot
<bart@net.in.tum.de>
Mon, 1 Jul 2013 13:05:38 +0000
(13:05 +0000)
src/regex/gnunet-regex-profiler.c
patch
|
blob
|
history
diff --git
a/src/regex/gnunet-regex-profiler.c
b/src/regex/gnunet-regex-profiler.c
index cb257df4984ea16d8b7b171327a9ecb74ebcaf7a..75f3d96a1c1319bee9cad46d3b9a311c99130ed3 100644
(file)
--- a/
src/regex/gnunet-regex-profiler.c
+++ b/
src/regex/gnunet-regex-profiler.c
@@
-1395,7
+1395,8
@@
run (void *cls, char *const *args, const char *cfgfile,
num_peers * 20);
GNUNET_CONFIGURATION_set_value_number (cfg,
"DHT", "FORCE_NSE",
- (long long unsigned) log2 (num_peers));
+ (long long unsigned)
+ (log (num_peers) / log (2.0)));
event_mask = 0LL;
/* For feedback about the start process activate these and pass master_cb */
event_mask |= (1LL << GNUNET_TESTBED_ET_PEER_START);