fix segfault
[oweals/gnunet.git] / src / namestore / test_plugin_namestore.c
index be65934d9b252b30fdb9110b36ccb474d5b863e2..dcf3505c39a75b1c089bc322a78c75e9163c93da 100644 (file)
@@ -26,7 +26,7 @@
 #include "gnunet_util_lib.h"
 #include "gnunet_namestore_plugin.h"
 
-#define VERBOSE GNUNET_EXTRA_LOGGING
+#define VERBOSE GNUNET_NO
 
 #define ASSERT(x) do { if (! (x)) { printf("Error at %s:%d\n", __FILE__, __LINE__); goto FAILURE;} } while (0)
 
@@ -235,8 +235,6 @@ main (int argc, char *argv[])
 
   GNUNET_snprintf (cfg_name, sizeof (cfg_name), "test_plugin_namestore_%s.conf",
                    plugin_name);
-  if (pos != plugin_name)
-    pos[0] = '.';
   GNUNET_PROGRAM_run ((sizeof (xargv) / sizeof (char *)) - 1, xargv,
                       "test-plugin-namestore", "nohelp", options, &run, NULL);
   if (ok != 0)