diff options
author | Laurent Bercot <ska-skaware@skarnet.org> | 2021-01-14 23:24:53 +0000 |
---|---|---|
committer | Laurent Bercot <ska-skaware@skarnet.org> | 2021-01-14 23:24:53 +0000 |
commit | f3d8514681a6a9a0664d3ad0b6b72eb87346f92f (patch) | |
tree | aa4c9c1110ab1e39b320f8e11e67196b70529f00 /src/libs6dns/s6dns_engine.c | |
parent | 033e162e95fb13196b3df93b708c535a3977e201 (diff) | |
download | s6-dns-f3d8514681a6a9a0664d3ad0b6b72eb87346f92f.tar.xz |
Prepare for 2.3.5.0, s6dns_message_get_domain_nodecode() now public
Diffstat (limited to 'src/libs6dns/s6dns_engine.c')
-rw-r--r-- | src/libs6dns/s6dns_engine.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/libs6dns/s6dns_engine.c b/src/libs6dns/s6dns_engine.c index a07b1dc..226bdcf 100644 --- a/src/libs6dns/s6dns_engine.c +++ b/src/libs6dns/s6dns_engine.c @@ -20,7 +20,6 @@ #include <s6-dns/s6dns-constants.h> #include <s6-dns/s6dns-message.h> #include <s6-dns/s6dns-engine.h> -#include "s6dns-message-internal.h" /* Utility functions */ @@ -45,7 +44,7 @@ static int relevant (char const *q, unsigned int qlen, char const *ans, unsigned { char buf[255] ; unsigned int pos = 12 ; - unsigned int n = s6dns_message_get_domain_internal(buf, 255, ans, anslen, &pos) ; + size_t n = s6dns_message_get_domain_nodecode(buf, 255, ans, anslen, &pos) ; if (!n) return -1 ; if (pos + 4 > anslen) return (errno = EPROTO, -1) ; if (qdomain_diff(buf, n, q + 12, qlen - 16)) return 0 ; |