-align core message, do not run psycstore here
[oweals/gnunet.git] / src / regex / gnunet-regex-profiler.c
index cb257df4984ea16d8b7b171327a9ecb74ebcaf7a..638f1a1a43bd2cc1d78eb39d013df1e82fa756d9 100644 (file)
@@ -1098,7 +1098,7 @@ dht_da (void *cls, void *op_result)
  *
  * @param cls NULL
  * @param num_peers_ number of peers in 'peers'
- * @param peers handle to peers run in the testbed.  NULL upon timeout (see
+ * @param testbed_peers handle to peers run in the testbed.  NULL upon timeout (see
  *          GNUNET_TESTBED_test_run()).
  * @param links_succeeded the number of overlay link connection attempts that
  *          succeeded
@@ -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);