mirror of
git://sourceware.org/git/glibc.git
synced 2024-11-21 01:12:26 +08:00
(fp_nquery): Call __res_ninit not __res_init.
This commit is contained in:
parent
cd6e89b285
commit
3d3e1ac077
@ -143,7 +143,7 @@ fp_query(const u_char *msg, FILE *file) {
|
|||||||
|
|
||||||
void
|
void
|
||||||
fp_nquery(const u_char *msg, int len, FILE *file) {
|
fp_nquery(const u_char *msg, int len, FILE *file) {
|
||||||
if ((_res.options & RES_INIT) == 0 && res_init() == -1)
|
if ((_res.options & RES_INIT) == 0 && __res_ninit(&_res) == -1)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
res_pquery(&_res, msg, len, file);
|
res_pquery(&_res, msg, len, file);
|
||||||
|
Loading…
Reference in New Issue
Block a user