summaryrefslogtreecommitdiff
path: root/src/libs6dns/s6dns_domain_decode.c
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2024-04-27 12:48:31 +0000
committerLaurent Bercot <ska@appnovation.com>2024-04-27 12:48:31 +0000
commit33e4b9d9137b5dbb02a087956f1558ef30647aea (patch)
treebb9578695eabce49207ad2d4aa3593e950778e25 /src/libs6dns/s6dns_domain_decode.c
parent51196c1512f071bec38064f8add058f52542976b (diff)
downloads6-dns-33e4b9d9137b5dbb02a087956f1558ef30647aea.tar.xz
Prepare for 2.3.7.2; implement dns-0x20
Signed-off-by: Laurent Bercot <ska@appnovation.com>
Diffstat (limited to 'src/libs6dns/s6dns_domain_decode.c')
-rw-r--r--src/libs6dns/s6dns_domain_decode.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/libs6dns/s6dns_domain_decode.c b/src/libs6dns/s6dns_domain_decode.c
index 6fea0d6..e5fab0a 100644
--- a/src/libs6dns/s6dns_domain_decode.c
+++ b/src/libs6dns/s6dns_domain_decode.c
@@ -3,7 +3,6 @@
#include <errno.h>
#include <skalibs/posixishard.h>
-#include <skalibs/bytestr.h>
#include <s6-dns/s6dns-domain.h>
@@ -12,7 +11,6 @@ static inline unsigned int s6dns_domain_label_decode (char *s, unsigned int max)
unsigned int len = *(unsigned char *)s ;
if ((len > 63) || (len >= max)) return (errno = EPROTO, 0) ;
*s = '.' ;
- case_lowerb(s+1, len) ;
return len + 1 ;
}