From c279ce86d89efd55f9b9019690aa0a15d89ccfc7 Mon Sep 17 00:00:00 2001 From: Matthias Wachs Date: Wed, 27 Oct 2010 09:27:40 +0000 Subject: Refactoring GNUNET_time --- src/block/plugin_block_dns.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/block') diff --git a/src/block/plugin_block_dns.c b/src/block/plugin_block_dns.c index 205cff4b8..338e07dc2 100644 --- a/src/block/plugin_block_dns.c +++ b/src/block/plugin_block_dns.c @@ -74,7 +74,7 @@ block_plugin_dns_evaluate (void *cls, if (ntohl(rec->purpose.size) != sizeof(struct GNUNET_DNS_Record) - sizeof(struct GNUNET_CRYPTO_RsaSignature)) return GNUNET_BLOCK_EVALUATION_RESULT_INVALID; - if (GNUNET_TIME_relative_get_zero().value == GNUNET_TIME_absolute_get_remaining(rec->expiration_time).value) + if (GNUNET_TIME_relative_get_zero().rel_value == GNUNET_TIME_absolute_get_remaining(rec->expiration_time).rel_value) return GNUNET_BLOCK_EVALUATION_RESULT_INVALID; if (GNUNET_OK != GNUNET_CRYPTO_rsa_verify (htonl(GNUNET_SIGNATURE_PURPOSE_DNS_RECORD), -- cgit v1.2.3