From a421f4458da4acc97f3c5e264a9a0dccfbb87e96 Mon Sep 17 00:00:00 2001 From: Mark Andrews Date: Mon, 23 Jun 2014 23:15:19 +1000 Subject: [PATCH] use isc_time_seconds rather than .seconds --- lib/dns/resolver.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/dns/resolver.c b/lib/dns/resolver.c index 27b61ae5d5..96cd53498d 100644 --- a/lib/dns/resolver.c +++ b/lib/dns/resolver.c @@ -1949,8 +1949,8 @@ resquery_send(resquery_t *query) { { isc_boolean_t checknta = ISC_TF((query->options & DNS_FETCHOPT_NONTA) == 0); - result = issecuredomain(res->view, &fctx->name, - fctx->type, query->start.seconds, + result = issecuredomain(res->view, &fctx->name, fctx->type, + isc_time_seconds(&query->start), checknta, &secure_domain); if (result != ISC_R_SUCCESS) secure_domain = ISC_FALSE;