diff options
| author | Warner Losh <imp@FreeBSD.org> | 2002-06-26 06:23:22 +0000 |
|---|---|---|
| committer | Warner Losh <imp@FreeBSD.org> | 2002-06-26 06:23:22 +0000 |
| commit | fda8311189d3634ee588b41c80e3eb31f0fa2859 (patch) | |
| tree | 36734074e51a27df48a3d0ceb2d8f93e8e35047c /lib/libc/net | |
| parent | 4cf0747073a506c6fdde123dad434c06bbaef54c (diff) | |
Notes
Diffstat (limited to 'lib/libc/net')
| -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 2862236c4bdb..e40c141c4083 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); |
