From: Christian Grothoff Date: Sat, 17 Apr 2010 18:18:55 +0000 (+0000) Subject: debug X-Git-Tag: initial-import-from-subversion-38251~22108 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=2f9ccf7cf902e617831a35638cf69f5012a6c22d;p=oweals%2Fgnunet.git debug --- diff --git a/TODO b/TODO index 7699174ab..fe623bcf1 100644 --- a/TODO +++ b/TODO @@ -6,8 +6,7 @@ - does not seem to work with timeouts (especially if service is not running) * UTIL: - only connect() sockets that are ready (select()) [Nils] - [On W32, we need to select after calling socket before - doing connect etc.] + [On W32, we need to select after calling socket before doing connect etc.] * TOPOLOGY: - needs more testing (especially F2F topology) - needs to re-try connecting after disconnect (currently, it @@ -39,8 +38,8 @@ - check if new HELLO learned is different from old HELLO before resetting entire state! * DATASTORE: - - API lacks cancellation methods (needed? or is disconnect enough?); - may also want to integrate request queuing here instead of gnunet-service-fs_drq.c + - API lacks cancellation methods (needed? or is disconnect enough?) + - may also want to integrate request queuing here instead of gnunet-service-fs_drq.c * FS: [CG] - support recursive download even if filename is NULL and we hence do not generate files on disk (use temp_filename) diff --git a/src/fs/gnunet-service-fs.c b/src/fs/gnunet-service-fs.c index b4f262c54..faf436bc0 100644 --- a/src/fs/gnunet-service-fs.c +++ b/src/fs/gnunet-service-fs.c @@ -1633,11 +1633,13 @@ forward_request_task (void *cls, at this time! */ pr->ttl = bound_ttl (pr->ttl + TTL_DECREMENT * 2, pr->priority); - GNUNET_log (GNUNET_ERROR_TYPE_WARNING, +#if DEBUG_FS + GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "Trying query `%s' with priority %u and TTL %d.\n", GNUNET_h2s (&pr->query), pr->priority, pr->ttl); +#endif } else {