aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/dht/gnunet_dht_profiler.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/dht/gnunet_dht_profiler.c b/src/dht/gnunet_dht_profiler.c
index 403deb38a2..5341e7d61c 100644
--- a/src/dht/gnunet_dht_profiler.c
+++ b/src/dht/gnunet_dht_profiler.c
@@ -45,7 +45,7 @@ static unsigned int put_probability = 100;
/**
* Configuration
*/
-static struct GNUNET_CONFIGURATION_Handle *cfg;
+static const struct GNUNET_CONFIGURATION_Handle *cfg;
/**
* Name of the file with the hosts to run the test over
@@ -917,7 +917,7 @@ run (void *cls,
num_peers);
return;
}
- cfg = GNUNET_CONFIGURATION_dup (config);
+ cfg = config;
event_mask = 0;
GNUNET_TESTBED_run (hosts_file,
cfg,