summaryrefslogtreecommitdiff
path: root/src/clients/s6-dnsqr.c
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2019-09-04 11:16:53 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2019-09-04 11:16:53 +0000
commit5bee815f7f9045db667bf9a1b0d5fddd94c704e4 (patch)
tree6693982d886ae22e8edaaf9ad4815e2755fd7322 /src/clients/s6-dnsqr.c
parentaacb26706179e91c67bc5c7da86d146997a5ab61 (diff)
downloads6-dns-5bee815f7f9045db667bf9a1b0d5fddd94c704e4.tar.xz
Use stopwatches
Diffstat (limited to 'src/clients/s6-dnsqr.c')
-rw-r--r--src/clients/s6-dnsqr.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/clients/s6-dnsqr.c b/src/clients/s6-dnsqr.c
index ed66ff9..186ae75 100644
--- a/src/clients/s6-dnsqr.c
+++ b/src/clients/s6-dnsqr.c
@@ -52,6 +52,7 @@ int main (int argc, char const *const *argv)
dbh.external = where ;
if (debuglevel & 1) dbh.post_recv = &s6dns_debug_dumpdt_post_recv ;
if (debuglevel & 2) { dbh.pre_send = &s6dns_debug_dumpdt_pre_send ; dbh.post_send = &s6dns_debug_dumpdt_post_send ; }
+ tain_now_set_stopwatch() ;
tain_now_g() ;
tain_add_g(&deadline, &deadline) ;
if (!s6dns_init()) strerr_diefu1sys(111, "s6dns_init") ;