Add a missing "*errp = h_errno" forgotten in rev 1.36.
This commit is contained in:
parent
689a98fa68
commit
3e32cfd0f2
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user