summaryrefslogtreecommitdiff
path: root/src/skadns/skadns_end.c
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2017-12-22 16:07:12 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2017-12-22 16:07:12 +0000
commit275183baefa08dc91f094c1e59bd43a77684662d (patch)
tree2aeeb04d0c650afd05ad42de8f4f1f708527aa2e /src/skadns/skadns_end.c
parent6f2f670455a24032face2d8ee4684d051ae0e907 (diff)
downloads6-dns-275183baefa08dc91f094c1e59bd43a77684662d.tar.xz
Port skadns to textclient, prepare for 2.3.0.0
Diffstat (limited to 'src/skadns/skadns_end.c')
-rw-r--r--src/skadns/skadns_end.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/skadns/skadns_end.c b/src/skadns/skadns_end.c
index 252e959..60ae9c9 100644
--- a/src/skadns/skadns_end.c
+++ b/src/skadns/skadns_end.c
@@ -4,7 +4,7 @@
#include <skalibs/alloc.h>
#include <skalibs/genalloc.h>
#include <skalibs/gensetdyn.h>
-#include <skalibs/skaclient.h>
+#include <skalibs/textclient.h>
#include <s6-dns/skadns.h>
static int skadnsanswer_free (char *p, void *stuff)
@@ -17,7 +17,7 @@ static int skadnsanswer_free (char *p, void *stuff)
void skadns_end (skadns_t *a)
{
- skaclient_end(&a->connection) ;
+ textclient_end(&a->connection) ;
genalloc_free(uint16_t, &a->list) ;
gensetdyn_iter(&a->q, &skadnsanswer_free, 0) ;
gensetdyn_free(&a->q) ;