diff options
author | Christian Grothoff <christian@grothoff.org> | 2010-11-01 22:44:28 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2010-11-01 22:44:28 +0000 |
commit | bdef044d942a5f75f698bef989a1e768e79d2976 (patch) | |
tree | 59ef3e1b4158bb1ab76af5d88df503a69f5ab3be /src/fs | |
parent | e9cf3782a3c5c2bcf6bdeff58b8a3536585791eb (diff) | |
download | gnunet-bdef044d942a5f75f698bef989a1e768e79d2976.tar.gz gnunet-bdef044d942a5f75f698bef989a1e768e79d2976.zip |
fixes from LRN for DEBUG code
Diffstat (limited to 'src/fs')
-rw-r--r-- | src/fs/gnunet-service-fs.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/fs/gnunet-service-fs.c b/src/fs/gnunet-service-fs.c index 1cd114261..ad770f779 100644 --- a/src/fs/gnunet-service-fs.c +++ b/src/fs/gnunet-service-fs.c | |||
@@ -41,7 +41,7 @@ | |||
41 | #include "gnunet-service-fs_indexing.h" | 41 | #include "gnunet-service-fs_indexing.h" |
42 | #include "fs.h" | 42 | #include "fs.h" |
43 | 43 | ||
44 | #define DEBUG_FS GNUNET_NO | 44 | #define DEBUG_FS GNUNET_YES |
45 | 45 | ||
46 | /** | 46 | /** |
47 | * Should we introduce random latency in processing? Required for proper | 47 | * Should we introduce random latency in processing? Required for proper |
@@ -2789,7 +2789,7 @@ target_peer_select_cb (void *cls, | |||
2789 | GNUNET_log (GNUNET_ERROR_TYPE_WARNING, | 2789 | GNUNET_log (GNUNET_ERROR_TYPE_WARNING, |
2790 | "NOT sending query since we send %u others to this peer in the last %llums\n", | 2790 | "NOT sending query since we send %u others to this peer in the last %llums\n", |
2791 | MAX_QUEUE_PER_PEER, | 2791 | MAX_QUEUE_PER_PEER, |
2792 | cp->avg_delay.abs_value); | 2792 | cp->avg_delay.rel_value); |
2793 | #endif | 2793 | #endif |
2794 | return GNUNET_YES; /* skip */ | 2794 | return GNUNET_YES; /* skip */ |
2795 | } | 2795 | } |
@@ -2964,7 +2964,7 @@ forward_request_task (void *cls, | |||
2964 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, | 2964 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, |
2965 | "No peer selected for forwarding of query `%s', will try again in %llu ms!\n", | 2965 | "No peer selected for forwarding of query `%s', will try again in %llu ms!\n", |
2966 | GNUNET_h2s (&pr->query), | 2966 | GNUNET_h2s (&pr->query), |
2967 | delay.abs_value); | 2967 | delay.rel_value); |
2968 | #endif | 2968 | #endif |
2969 | pr->task = GNUNET_SCHEDULER_add_delayed (sched, | 2969 | pr->task = GNUNET_SCHEDULER_add_delayed (sched, |
2970 | delay, | 2970 | delay, |
@@ -3283,9 +3283,9 @@ struct GNUNET_TIME_Relative art_delay; | |||
3283 | 1, | 3283 | 1, |
3284 | GNUNET_NO); | 3284 | GNUNET_NO); |
3285 | #if DEBUG_FS | 3285 | #if DEBUG_FS |
3286 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, | 3286 | /* GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, |
3287 | "Duplicate response `%s', discarding.\n", | 3287 | "Duplicate response `%s', discarding.\n", |
3288 | GNUNET_h2s (&mhash)); | 3288 | GNUNET_h2s (&mhash));*/ |
3289 | #endif | 3289 | #endif |
3290 | return GNUNET_YES; /* duplicate */ | 3290 | return GNUNET_YES; /* duplicate */ |
3291 | case GNUNET_BLOCK_EVALUATION_RESULT_INVALID: | 3291 | case GNUNET_BLOCK_EVALUATION_RESULT_INVALID: |