diff options
author | Christian Grothoff <christian@grothoff.org> | 2012-11-15 12:46:25 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2012-11-15 12:46:25 +0000 |
commit | f71b28f067caf23942411128d1ceaee2550d022c (patch) | |
tree | f2d53f66524ce6c4d24b6bdc7e66ee697d119f36 /src/fs/gnunet-service-fs_pr.c | |
parent | 3215b6b06bcbe0368bd468bc9ea18b09f617ea03 (diff) | |
download | gnunet-f71b28f067caf23942411128d1ceaee2550d022c.tar.gz gnunet-f71b28f067caf23942411128d1ceaee2550d022c.zip |
-make use of new IRRELEVANT status code
Diffstat (limited to 'src/fs/gnunet-service-fs_pr.c')
-rw-r--r-- | src/fs/gnunet-service-fs_pr.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/fs/gnunet-service-fs_pr.c b/src/fs/gnunet-service-fs_pr.c index f65ed66a6..349232daf 100644 --- a/src/fs/gnunet-service-fs_pr.c +++ b/src/fs/gnunet-service-fs_pr.c | |||
@@ -842,6 +842,14 @@ process_reply (void *cls, const struct GNUNET_HashCode * key, void *value) | |||
842 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, | 842 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, |
843 | "Duplicate response, discarding.\n"); | 843 | "Duplicate response, discarding.\n"); |
844 | return GNUNET_YES; /* duplicate */ | 844 | return GNUNET_YES; /* duplicate */ |
845 | case GNUNET_BLOCK_EVALUATION_RESULT_IRRELEVANT: | ||
846 | GNUNET_STATISTICS_update (GSF_stats, | ||
847 | gettext_noop | ||
848 | ("# irrelevant replies discarded"), | ||
849 | 1, GNUNET_NO); | ||
850 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, | ||
851 | "Irrelevant response, ignoring.\n"); | ||
852 | return GNUNET_YES; | ||
845 | case GNUNET_BLOCK_EVALUATION_RESULT_INVALID: | 853 | case GNUNET_BLOCK_EVALUATION_RESULT_INVALID: |
846 | return GNUNET_YES; /* wrong namespace */ | 854 | return GNUNET_YES; /* wrong namespace */ |
847 | case GNUNET_BLOCK_EVALUATION_REQUEST_VALID: | 855 | case GNUNET_BLOCK_EVALUATION_REQUEST_VALID: |