diff options
author | Pierre Beyssac <pb@FreeBSD.org> | 2004-04-06 09:31:22 +0000 |
---|---|---|
committer | Pierre Beyssac <pb@FreeBSD.org> | 2004-04-06 09:31:22 +0000 |
commit | 54846c9ff0b8783dc9c29db6c42e581790b6619a (patch) | |
tree | 806b927099db521448a1bc69830252792028de07 /lib/libc/net | |
parent | 71529a899b2564c9d43297e4c1d5515a89ceb38f (diff) | |
download | src-54846c9ff0b8783dc9c29db6c42e581790b6619a.tar.gz src-54846c9ff0b8783dc9c29db6c42e581790b6619a.zip |
Add a missing "*errp = h_errno" forgotten in rev 1.36.
Notes
Notes:
svn path=/head/; revision=127933
Diffstat (limited to 'lib/libc/net')
-rw-r--r-- | lib/libc/net/name6.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/libc/net/name6.c b/lib/libc/net/name6.c index 1337598a30fe..c71511d7889e 100644 --- a/lib/libc/net/name6.c +++ b/lib/libc/net/name6.c @@ -1539,7 +1539,8 @@ _res_search_multi(name, rtl, errp) continue; hp = _hpcopy(&hpbuf, errp); hp0 = _hpmerge(hp0, hp, errp); - } + } else + *errp = h_errno; } free(buf); return (hp0); |