-removing useless code
authorChristian Grothoff <christian@grothoff.org>
Tue, 2 Jul 2013 14:39:09 +0000 (14:39 +0000)
committerChristian Grothoff <christian@grothoff.org>
Tue, 2 Jul 2013 14:39:09 +0000 (14:39 +0000)
src/fs/gnunet-service-fs.c
src/fs/test_fs_defaults.conf
src/fs/test_plugin_block_fs.c

index 72fa662c1c78fb1c76ec7631d5f05a71e6a6b5db..2aac9e165b52cbec7cd97620ff14ce57e246dc63 100644 (file)
@@ -687,7 +687,6 @@ run (void *cls, struct GNUNET_SERVER_Handle *server,
   GSF_rt_entry_lifetime = GNUNET_LOAD_value_init (GNUNET_TIME_UNIT_FOREVER_REL);
   GSF_stats = GNUNET_STATISTICS_create ("fs", cfg);
   block_cfg = GNUNET_CONFIGURATION_create ();
-  GNUNET_CONFIGURATION_set_value_string (block_cfg, "block", "PLUGINS", "fs");
   GSF_block_ctx = GNUNET_BLOCK_context_create (block_cfg);
   GNUNET_assert (NULL != GSF_block_ctx);
   GSF_dht = GNUNET_DHT_connect (cfg, FS_DHT_HT_SIZE);
index f80c7d065d8879025f976eea5c20d7b8c1e10221..1880fb7de0e384385fcf8e8ce619a883d6d8ee09 100644 (file)
@@ -66,7 +66,7 @@ HOSTKEYSFILE = ${DATADIR}/testing_hostkeys.dat
 
 [dhtcache]
 QUOTA=65536
-DATABASE=sqlite
+DATABASE=heap
 
 [dns]
 AUTOSTART = NO
index a9f5ce3f002089ba0f2cb76828e422293ddb5990..d354847d4ae854b1e996d6587e46de8a41e30502 100644 (file)
@@ -64,7 +64,6 @@ main (int argc, char *argv[])
 
   GNUNET_log_setup ("test-block", "WARNING", NULL);
   cfg = GNUNET_CONFIGURATION_create ();
-  GNUNET_CONFIGURATION_set_value_string (cfg, "block", "PLUGINS", "fs");
   ctx = GNUNET_BLOCK_context_create (cfg);
   ret = test_fs (ctx);
   GNUNET_BLOCK_context_destroy (ctx);