- Fixed nse profiler handling of config files
authorBart Polot <bart@net.in.tum.de>
Wed, 23 Nov 2011 10:53:15 +0000 (10:53 +0000)
committerBart Polot <bart@net.in.tum.de>
Wed, 23 Nov 2011 10:53:15 +0000 (10:53 +0000)
src/nse/gnunet-nse-profiler.c

index 263caee707b8145ef566f17b5e1ce1744a718756..e182cbca0076466f5ff8adf15ff2cabfdb7426cc 100644 (file)
@@ -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",