summaryrefslogtreecommitdiff
path: root/src/libs6dns/s6dns_debug_dumpdt_post_send.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libs6dns/s6dns_debug_dumpdt_post_send.c')
-rw-r--r--src/libs6dns/s6dns_debug_dumpdt_post_send.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libs6dns/s6dns_debug_dumpdt_post_send.c b/src/libs6dns/s6dns_debug_dumpdt_post_send.c
index 21692a0..8d18718 100644
--- a/src/libs6dns/s6dns_debug_dumpdt_post_send.c
+++ b/src/libs6dns/s6dns_debug_dumpdt_post_send.c
@@ -9,7 +9,7 @@
int s6dns_debug_dumpdt_post_send (s6dns_engine_t const *dt, void *data)
{
- genwrite_t *gp = data ;
+ genwrite *gp = data ;
size_t len ;
char buf[LOCALTMN_FMT] ;
if ((*gp->put)(gp->target, "Sent query ", 11) < 11) return 0 ;
@@ -21,7 +21,7 @@ int s6dns_debug_dumpdt_post_send (s6dns_engine_t const *dt, void *data)
if ((*gp->put)(gp->target, buf, len) < (ssize_t)len) return 0 ;
if ((*gp->put)(gp->target, " - next recv deadline is ", 25) < 25) return 0 ;
{
- localtmn_t l ;
+ localtmn l ;
if (!localtmn_from_tain(&l, &dt->localdeadline, 0)) return 0 ;
len = localtmn_fmt(buf, &l) ;
}