summaryrefslogtreecommitdiff
path: root/src/libs6dns/s6dns_domain_decode.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libs6dns/s6dns_domain_decode.c')
-rw-r--r--src/libs6dns/s6dns_domain_decode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libs6dns/s6dns_domain_decode.c b/src/libs6dns/s6dns_domain_decode.c
index db4ccf5..440f672 100644
--- a/src/libs6dns/s6dns_domain_decode.c
+++ b/src/libs6dns/s6dns_domain_decode.c
@@ -20,7 +20,7 @@ int s6dns_domain_decode (s6dns_domain_t *d)
unsigned int pos = 0 ;
for (;;)
{
- register unsigned int r = s6dns_domain_label_decode(d->s + pos, max - pos) ;
+ unsigned int r = s6dns_domain_label_decode(d->s + pos, max - pos) ;
if (!r) return 0 ;
pos += r ;
if (r == 1) break ;