From 3e32cfd0f200adcc574356c352b2ada255a50303 Mon Sep 17 00:00:00 2001 From: pb Date: Tue, 6 Apr 2004 09:31:22 +0000 Subject: Add a missing "*errp = h_errno" forgotten in rev 1.36. --- lib/libc/net/name6.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/libc/net/name6.c b/lib/libc/net/name6.c index 1337598..c71511d 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); -- cgit v1.1