summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/net/name6.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/libc/net/name6.c b/lib/libc/net/name6.c
index 83c3caf..d80f9c2 100644
--- a/lib/libc/net/name6.c
+++ b/lib/libc/net/name6.c
@@ -1205,9 +1205,7 @@ getanswer(answer, anslen, qname, qtype, template, errp)
nn = strlen(bp) + 1; /* for the \0 */
bp += nn;
}
- obp = bp; /* ALIGN rounds up */
bp = (char *)ALIGN(bp);
- buflen -= (bp - obp);
DNS_FATAL(bp + n < ep);
DNS_ASSERT(hap < &h_addr_ptrs[MAXADDRS-1]);
OpenPOWER on IntegriCloud