summaryrefslogtreecommitdiff
path: root/src/skadns
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2023-06-13 22:33:51 +0000
committerLaurent Bercot <ska@appnovation.com>2023-06-13 22:33:51 +0000
commitb6a35ea862340125ed29457c9bb7e6a1295104c0 (patch)
treed51b883257b7e6521d336afe6f26aacc1422fb02 /src/skadns
parent5088f7f28b132f07fb3e03982c5f0ace09bf65b5 (diff)
downloads6-dns-b6a35ea862340125ed29457c9bb7e6a1295104c0.tar.xz
Adapt to iter_func fix
Signed-off-by: Laurent Bercot <ska@appnovation.com>
Diffstat (limited to 'src/skadns')
-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 afcab58..c6298fa 100644
--- a/src/skadns/skadns_end.c
+++ b/src/skadns/skadns_end.c
@@ -7,9 +7,9 @@
#include <skalibs/textclient.h>
#include <s6-dns/skadns.h>
-static int skadnsanswer_free (char *p, void *stuff)
+static int skadnsanswer_free (void *p, void *stuff)
{
- skadnsanswer_t *q = (skadnsanswer_t_ref)p ;
+ skadnsanswer_t *q = p ;
alloc_free(q->data) ;
(void)stuff ;
return 1 ;