fixes
authorChristian Grothoff <christian@grothoff.org>
Fri, 14 May 2010 21:27:17 +0000 (21:27 +0000)
committerChristian Grothoff <christian@grothoff.org>
Fri, 14 May 2010 21:27:17 +0000 (21:27 +0000)
src/fs/fs_test_lib_data.conf
src/fs/gnunet-service-fs.c

index e7fea54506a2980e2f7dd5355e5dd419a10a56b2..2a88218452c1b671063927e85b128b035c95d053 100644 (file)
@@ -17,7 +17,7 @@ PLUGINS = tcp
 [arm]
 PORT = 43466
 HOSTNAME = localhost
-DEFAULTSERVICES = 
+DEFAULTSERVICES = fs
 
 [datastore]
 DEBUG = YES
@@ -44,7 +44,7 @@ HOSTNAME = localhost
 #TOTAL_QUOTA_OUT = 9321
 TOTAL_QUOTA_IN = 3932160
 TOTAL_QUOTA_OUT = 3932160
-DEBUG = YES
+DEBUG = YES
 #PREFIX = valgrind --tool=memcheck --leak-check=yes
 #BINARY = /home/grothoff/bin/gnunet-service-core
 
index 124bab521f594ed4983b0df2762abe4426fa3d5b..d44ff1a41880bdfcee6528b1a5a70b2072ba30d0 100644 (file)
@@ -1063,7 +1063,7 @@ transmit_to_peer (void *cls,
                                                   &transmit_to_peer,
                                                   cp);
     }
-#if DEBUG_FS > 2
+#if DEBUG_FS
   GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
              "Transmitting %u bytes to peer %u.\n",
              msize,
@@ -2107,7 +2107,7 @@ handle_p2p_put (void *cls,
                                              &prq);
   if (GNUNET_YES == active_migration)
     {
-      GNUNET_DATASTORE_put (NULL /* FIXME */,
+      GNUNET_DATASTORE_put (dsh,
                            0, &query, dsize, &put[1],
                            type, prq.priority, 1 /* anonymity */, 
                            expiration,