aboutsummaryrefslogtreecommitdiff
path: root/src/fs/plugin_block_fs.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2012-11-15 12:46:25 +0000
committerChristian Grothoff <christian@grothoff.org>2012-11-15 12:46:25 +0000
commitf71b28f067caf23942411128d1ceaee2550d022c (patch)
treef2d53f66524ce6c4d24b6bdc7e66ee697d119f36 /src/fs/plugin_block_fs.c
parent3215b6b06bcbe0368bd468bc9ea18b09f617ea03 (diff)
downloadgnunet-f71b28f067caf23942411128d1ceaee2550d022c.tar.gz
gnunet-f71b28f067caf23942411128d1ceaee2550d022c.zip
-make use of new IRRELEVANT status code
Diffstat (limited to 'src/fs/plugin_block_fs.c')
-rw-r--r--src/fs/plugin_block_fs.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/fs/plugin_block_fs.c b/src/fs/plugin_block_fs.c
index 2e4f7ef87..8e90589cf 100644
--- a/src/fs/plugin_block_fs.c
+++ b/src/fs/plugin_block_fs.c
@@ -124,12 +124,7 @@ block_plugin_fs_evaluate (void *cls, enum GNUNET_BLOCK_Type type,
124 sizeof (struct GNUNET_CRYPTO_RsaPublicKeyBinaryEncoded), 124 sizeof (struct GNUNET_CRYPTO_RsaPublicKeyBinaryEncoded),
125 &sh); 125 &sh);
126 if (0 != memcmp (nsid, &sh, sizeof (struct GNUNET_HashCode))) 126 if (0 != memcmp (nsid, &sh, sizeof (struct GNUNET_HashCode)))
127 { 127 return GNUNET_BLOCK_EVALUATION_RESULT_IRRELEVANT;
128 GNUNET_log_from (GNUNET_ERROR_TYPE_WARNING, "block-fs",
129 _
130 ("Reply mismatched in terms of namespace. Discarded.\n"));
131 return GNUNET_BLOCK_EVALUATION_RESULT_INVALID;
132 }
133 if (NULL != bf) 128 if (NULL != bf)
134 { 129 {
135 GNUNET_CRYPTO_hash (reply_block, reply_block_size, &chash); 130 GNUNET_CRYPTO_hash (reply_block, reply_block_size, &chash);