diff options
author | imp <imp@FreeBSD.org> | 2002-06-26 06:23:22 +0000 |
---|---|---|
committer | imp <imp@FreeBSD.org> | 2002-06-26 06:23:22 +0000 |
commit | 3eb1b04697ca128ee0c868eb6faab8df35e91c13 (patch) | |
tree | 36734074e51a27df48a3d0ceb2d8f93e8e35047c | |
parent | 2bbf857de4c4b712c707b817caa739ddfdd01207 (diff) | |
download | FreeBSD-src-3eb1b04697ca128ee0c868eb6faab8df35e91c13.zip FreeBSD-src-3eb1b04697ca128ee0c868eb6faab8df35e91c13.tar.gz |
Fix a minor last, minute issue that came in after I committed.
Noticed by: nectar
-rw-r--r-- | lib/libc/net/gethostbydns.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libc/net/gethostbydns.c b/lib/libc/net/gethostbydns.c index 2862236..e40c141 100644 --- a/lib/libc/net/gethostbydns.c +++ b/lib/libc/net/gethostbydns.c @@ -396,8 +396,8 @@ gethostanswer(answer, anslen, qname, qtype) buflen -= nn; } - bp += sizeof(align) - ((u_long)bp % sizeof(align)); buflen -= sizeof(align) - ((u_long)bp % sizeof(align)); + bp += sizeof(align) - ((u_long)bp % sizeof(align)); if (bp + n >= &hostbuf[sizeof hostbuf]) { dprintf("size (%d) too big\n", n); |