]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
use isc_time_seconds rather than .seconds
authorMark Andrews <marka@isc.org>
Mon, 23 Jun 2014 13:15:19 +0000 (23:15 +1000)
committerMark Andrews <marka@isc.org>
Mon, 23 Jun 2014 13:15:19 +0000 (23:15 +1000)
lib/dns/resolver.c

index 27b61ae5d5e901c3e814a3e7fd2ce78909a8ef9b..96cd53498d4716c9db9df10a11ae83190f1b4ebc 100644 (file)
@@ -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;