-fix
authorMartin Schanzenbach <mschanzenbach@posteo.de>
Tue, 28 Feb 2012 09:08:00 +0000 (09:08 +0000)
committerMartin Schanzenbach <mschanzenbach@posteo.de>
Tue, 28 Feb 2012 09:08:00 +0000 (09:08 +0000)
src/gns/plugin_block_gns.c

index e941876d22b6449c54b003166db2f6953cca2017..8a2cb07277849b10b83f32fe99c3a6ed3414b45d 100644 (file)
@@ -99,7 +99,7 @@ block_plugin_gns_evaluate (void *cls, enum GNUNET_BLOCK_Type type,
   
   //Check query key against public key
   if (0 != GNUNET_CRYPTO_hash_cmp(query, &query_key))
-    return GNUNET_BLOCK_EVALUATION_REQUEST_INVALID;
+    return GNUNET_BLOCK_EVALUATION_REQUEST_VALID;
   
   GNUNET_log(GNUNET_ERROR_TYPE_INFO, "Checking payload\n");
   rd_count = ntohl(nrb->rd_count);