aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2018-05-22 23:37:15 +0200
committerChristian Grothoff <christian@grothoff.org>2018-05-22 23:37:15 +0200
commit9af391e1545c33f592389ce0dd572b27da9b01ad (patch)
tree5113d67805e96fe0cc6dc66265bf5281bf445c33
parent9be8a466ac6627c30ffc827d459e02a67cdaf929 (diff)
downloadgnunet-9af391e1545c33f592389ce0dd572b27da9b01ad.tar.gz
gnunet-9af391e1545c33f592389ce0dd572b27da9b01ad.zip
no need to dup cfg
-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 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;
45/** 45/**
46 * Configuration 46 * Configuration
47 */ 47 */
48static struct GNUNET_CONFIGURATION_Handle *cfg; 48static const struct GNUNET_CONFIGURATION_Handle *cfg;
49 49
50/** 50/**
51 * Name of the file with the hosts to run the test over 51 * Name of the file with the hosts to run the test over
@@ -917,7 +917,7 @@ run (void *cls,
917 num_peers); 917 num_peers);
918 return; 918 return;
919 } 919 }
920 cfg = GNUNET_CONFIGURATION_dup (config); 920 cfg = config;
921 event_mask = 0; 921 event_mask = 0;
922 GNUNET_TESTBED_run (hosts_file, 922 GNUNET_TESTBED_run (hosts_file,
923 cfg, 923 cfg,