From de4e8e7ae4d354a77e8b4d2a1eccc031b9094939 Mon Sep 17 00:00:00 2001 From: imp Date: Wed, 26 Jun 2002 14:18:36 +0000 Subject: Remove two stray lines that snuck in the cvs merge --- lib/libc/net/gethostbydns.c | 1 - lib/libc/net/getnetbydns.c | 1 - 2 files changed, 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++; -- cgit v1.1