summaryrefslogtreecommitdiff
path: root/src/clients/s6-dnsq.c
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2019-09-06 10:51:27 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2019-09-06 10:51:27 +0000
commitbe796e67efda6fbcc6ac07c3b213e3e276b8d7f0 (patch)
treeb4aabd39f8a657159fc4d0f3061fd8c3bbc5ecc8 /src/clients/s6-dnsq.c
parent5bee815f7f9045db667bf9a1b0d5fddd94c704e4 (diff)
downloads6-dns-be796e67efda6fbcc6ac07c3b213e3e276b8d7f0.tar.xz
Adapt to new stopwatch API
Diffstat (limited to 'src/clients/s6-dnsq.c')
-rw-r--r--src/clients/s6-dnsq.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/clients/s6-dnsq.c b/src/clients/s6-dnsq.c
index 3113025..207c58f 100644
--- a/src/clients/s6-dnsq.c
+++ b/src/clients/s6-dnsq.c
@@ -75,8 +75,7 @@ int main (int argc, char const *const *argv)
}
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_now_set_stopwatch_g() ;
tain_add_g(&deadline, &deadline) ;
if (!s6dns_engine_init_r_g(&s6dns_engine_here, &servers, 0, d.s, d.len, qtype, &dbh, &deadline))
strerr_diefu1sys(111, "initialize query") ;