From 33e4b9d9137b5dbb02a087956f1558ef30647aea Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Sat, 27 Apr 2024 12:48:31 +0000 Subject: Prepare for 2.3.7.2; implement dns-0x20 Signed-off-by: Laurent Bercot --- src/libs6dns/s6dns_domain_tostring.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/libs6dns/s6dns_domain_tostring.c') diff --git a/src/libs6dns/s6dns_domain_tostring.c b/src/libs6dns/s6dns_domain_tostring.c index 2c1cf01..cd60f66 100644 --- a/src/libs6dns/s6dns_domain_tostring.c +++ b/src/libs6dns/s6dns_domain_tostring.c @@ -2,6 +2,9 @@ #include #include + +#include + #include unsigned int s6dns_domain_tostring (char *s, size_t max, s6dns_domain_t const *d) @@ -18,6 +21,7 @@ unsigned int s6dns_domain_tostring (char *s, size_t max, s6dns_domain_t const *d { memcpy(s, d->s + 1, d->len - 1) ; s[d->len - 1] = 0 ; + case_lowerb(s, d->len - 1) ; return d->len - 1 ; } } -- cgit v1.2.3