diff options
author | Laurent Bercot <ska-skaware@skarnet.org> | 2021-08-04 11:24:03 +0000 |
---|---|---|
committer | Laurent Bercot <ska@appnovation.com> | 2021-08-04 11:24:03 +0000 |
commit | 29f70f35a48241eef0a690a00d5211f487972cba (patch) | |
tree | 7153e8f6623aed91a7d98a4961730bd161ac8a1a /src/skadns/skadnsd.c | |
parent | ffed76f91e3623f40d1ebffffc0bc728722c84f5 (diff) | |
download | s6-dns-29f70f35a48241eef0a690a00d5211f487972cba.tar.xz |
Adapt to skalibs-2.11
Signed-off-by: Laurent Bercot <ska@appnovation.com>
Diffstat (limited to 'src/skadns/skadnsd.c')
-rw-r--r-- | src/skadns/skadnsd.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/skadns/skadnsd.c b/src/skadns/skadnsd.c index 7711bc1..c405574 100644 --- a/src/skadns/skadnsd.c +++ b/src/skadns/skadnsd.c @@ -64,7 +64,7 @@ static int parse_protocol (struct iovec const *v, void *context) { case 'Q' : /* send a query */ { - tain_t limit ; + tain limit ; uint16_t qtype ; if (v->iov_len < 21) strerr_dief1x(100, "invalid client request") ; if (sp >= SKADNS_MAXCONCURRENCY) @@ -116,7 +116,7 @@ int main (void) if (!s6dns_init()) strerr_diefu1sys(111, "s6dns_init") ; { - tain_t deadline ; + tain deadline ; tain_addsec_g(&deadline, 2) ; if (!textclient_server_01x_init_g(SKADNS_BANNER1, SKADNS_BANNER1_LEN, SKADNS_BANNER2, SKADNS_BANNER2_LEN, &deadline)) strerr_diefu1sys(111, "sync with client") ; @@ -137,7 +137,7 @@ int main (void) x[2].fd = textmessage_sender_fd(textmessage_sender_x) ; x[2].events = IOPAUSE_EXCEPT | (textmessage_sender_isempty(textmessage_sender_x) ? 0 : IOPAUSE_WRITE) ; { - tain_t deadline = TAIN_INFINITE ; + tain deadline = TAIN_INFINITE ; unsigned int i = 0 ; for (; i < sp ; i++) { |