From: Christian Grothoff Date: Fri, 14 May 2010 21:27:17 +0000 (+0000) Subject: fixes X-Git-Tag: initial-import-from-subversion-38251~21704 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=470d13d6a968102dd52ebd9ac4fb557bff391d3c;p=oweals%2Fgnunet.git fixes --- diff --git a/src/fs/fs_test_lib_data.conf b/src/fs/fs_test_lib_data.conf index e7fea5450..2a8821845 100644 --- a/src/fs/fs_test_lib_data.conf +++ b/src/fs/fs_test_lib_data.conf @@ -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 diff --git a/src/fs/gnunet-service-fs.c b/src/fs/gnunet-service-fs.c index 124bab521..d44ff1a41 100644 --- a/src/fs/gnunet-service-fs.c +++ b/src/fs/gnunet-service-fs.c @@ -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,