From: Bart Polot Date: Wed, 23 Nov 2011 10:53:15 +0000 (+0000) Subject: - Fixed nse profiler handling of config files X-Git-Tag: initial-import-from-subversion-38251~15838 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=8d4d96e9a9317a18526bd645a0881e80c71a332b;p=oweals%2Fgnunet.git - Fixed nse profiler handling of config files --- 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",