summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2002-06-26 14:18:36 +0000
committerimp <imp@FreeBSD.org>2002-06-26 14:18:36 +0000
commitde4e8e7ae4d354a77e8b4d2a1eccc031b9094939 (patch)
tree5946f3b32fe695df330c968aea8836759787c167 /lib
parent030261116e33c2b28d1a27c5fe8db028e45f157f (diff)
downloadFreeBSD-src-de4e8e7ae4d354a77e8b4d2a1eccc031b9094939.zip
FreeBSD-src-de4e8e7ae4d354a77e8b4d2a1eccc031b9094939.tar.gz
Remove two stray lines that snuck in the cvs merge
Diffstat (limited to 'lib')
-rw-r--r--lib/libc/net/gethostbydns.c1
-rw-r--r--lib/libc/net/getnetbydns.c1
2 files changed, 0 insertions, 2 deletions
diff --git a/lib/libc/net/gethostbydns.c b/lib/libc/net/gethostbydns.c
index 518585a..1044727 100644
--- a/lib/libc/net/gethostbydns.c
+++ b/lib/libc/net/gethostbydns.c
@@ -389,7 +389,6 @@ gethostanswer(answer, anslen, qname, qtype)
bp += nn;
}
- buflen -= sizeof(align) - ((u_long)bp % sizeof(align));
bp += sizeof(align) - ((u_long)bp % sizeof(align));
if (bp + n >= ep) {
diff --git a/lib/libc/net/getnetbydns.c b/lib/libc/net/getnetbydns.c
index 6df435c..369bf2b 100644
--- a/lib/libc/net/getnetbydns.c
+++ b/lib/libc/net/getnetbydns.c
@@ -178,7 +178,6 @@ static char *net_aliases[MAXALIASES], netbuf[PACKETSZ];
*ap++ = bp;
n = strlen(bp) + 1;
bp += n;
- buflen -= n;
net_entry.n_addrtype =
(class == C_IN) ? AF_INET : AF_UNSPEC;
haveanswer++;
OpenPOWER on IntegriCloud