From 3c2052f893dcace799f6a464a6ec300a2364bf28 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Vladim=C3=ADr=20=C4=8Cun=C3=A1t?= Date: Tue, 6 Feb 2024 08:55:25 +0100 Subject: [PATCH] libknot 3.4 compat This extends the new 5.x commit 673c8d2b56b6. Now I can build fine against knot-dns master again. --- lib/rules/zonefile.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/rules/zonefile.c b/lib/rules/zonefile.c index d29ae35e2..b5cc4a646 100644 --- a/lib/rules/zonefile.c +++ b/lib/rules/zonefile.c @@ -153,7 +153,7 @@ static bool owner_relativize(zs_scanner_t *s) } return false; } - const int len = knot_dname_prefixlen(s->r_owner, labels, NULL); + const int len = kr_dname_prefixlen(s->r_owner, labels); s->r_owner[len] = '\0'; // not very nice but safe at this point return true; } -- 2.47.2