From 9af391e1545c33f592389ce0dd572b27da9b01ad Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Tue, 22 May 2018 23:37:15 +0200 Subject: no need to dup cfg --- src/dht/gnunet_dht_profiler.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/dht/gnunet_dht_profiler.c') diff --git a/src/dht/gnunet_dht_profiler.c b/src/dht/gnunet_dht_profiler.c index 403deb38a..5341e7d61 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, -- cgit v1.2.3