Add a missing "*errp = h_errno" forgotten in rev 1.36.

This commit is contained in:
pb 2004-04-06 09:31:22 +00:00
parent 689a98fa68
commit 3e32cfd0f2

View File

@ -1539,7 +1539,8 @@ _res_search_multi(name, rtl, errp)
continue; continue;
hp = _hpcopy(&hpbuf, errp); hp = _hpcopy(&hpbuf, errp);
hp0 = _hpmerge(hp0, hp, errp); hp0 = _hpmerge(hp0, hp, errp);
} } else
*errp = h_errno;
} }
free(buf); free(buf);
return (hp0); return (hp0);