changing time measurement from milliseconds to microseconds
[oweals/gnunet.git] / src / dns / plugin_block_dns.c
index d8f3cbb6f946929899fb0eddd52e53a68f4878a5..58301e095acc906f69526e8d98a7f1eae3304b4d 100644 (file)
@@ -87,7 +87,7 @@ block_plugin_dns_evaluate (void *cls, enum GNUNET_BLOCK_Type type,
 
     if (0 ==
         GNUNET_TIME_absolute_get_remaining (GNUNET_TIME_absolute_ntoh
-                                            (rec->expiration_time)).rel_value)
+                                            (rec->expiration_time)).rel_value_us)
     {
       GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "DNS-Block is invalid: Timeout\n");
       return GNUNET_BLOCK_EVALUATION_RESULT_INVALID;