From 8d4d96e9a9317a18526bd645a0881e80c71a332b Mon Sep 17 00:00:00 2001 From: Bart Polot Date: Wed, 23 Nov 2011 10:53:15 +0000 Subject: - Fixed nse profiler handling of config files --- src/nse/gnunet-nse-profiler.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/nse') diff --git a/src/nse/gnunet-nse-profiler.c b/src/nse/gnunet-nse-profiler.c index 263caee70..e182cbca0 100644 --- a/src/nse/gnunet-nse-profiler.c +++ b/src/nse/gnunet-nse-profiler.c @@ -29,7 +29,7 @@ #include "gnunet_testing_lib.h" #include "gnunet_nse_service.h" -#define VERBOSE GNUNET_EXTRA_LOGGING +#define VERBOSE 3 struct NSEPeer { @@ -540,7 +540,8 @@ run (void *cls, char *const *args, const char *cfgfile, char *data_filename; ok = 1; - testing_cfg = GNUNET_CONFIGURATION_create (); + //testing_cfg = GNUNET_CONFIGURATION_create (); + testing_cfg = GNUNET_CONFIGURATION_dup (cfg); #if VERBOSE GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "Starting daemons.\n"); GNUNET_CONFIGURATION_set_value_string (testing_cfg, "testing", -- cgit v1.2.3