aboutsummaryrefslogtreecommitdiff
path: root/lib/libc/net
diff options
context:
space:
mode:
authorPierre Beyssac <pb@FreeBSD.org>2004-04-06 09:31:22 +0000
committerPierre Beyssac <pb@FreeBSD.org>2004-04-06 09:31:22 +0000
commit54846c9ff0b8783dc9c29db6c42e581790b6619a (patch)
tree806b927099db521448a1bc69830252792028de07 /lib/libc/net
parent71529a899b2564c9d43297e4c1d5515a89ceb38f (diff)
downloadsrc-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.c3
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);