diff options
author | Ulrich Drepper <drepper@redhat.com> | 2001-03-14 22:27:30 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2001-03-14 22:27:30 +0000 |
commit | 3d3e1ac077fc7905c1d0a84eb0750c76a34a1f55 (patch) | |
tree | 8e6de91c521eced5fb8fb0c1821eda1b06e7a56c /resolv/res_data.c | |
parent | cd6e89b28541ed996370fbad6af4fec095e27a6a (diff) | |
download | glibc-3d3e1ac077fc7905c1d0a84eb0750c76a34a1f55.zip glibc-3d3e1ac077fc7905c1d0a84eb0750c76a34a1f55.tar.gz glibc-3d3e1ac077fc7905c1d0a84eb0750c76a34a1f55.tar.bz2 |
(fp_nquery): Call __res_ninit not __res_init.
Diffstat (limited to 'resolv/res_data.c')
-rw-r--r-- | resolv/res_data.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/resolv/res_data.c b/resolv/res_data.c index 968f820..30d8ab9 100644 --- a/resolv/res_data.c +++ b/resolv/res_data.c @@ -143,7 +143,7 @@ fp_query(const u_char *msg, FILE *file) { void 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; res_pquery(&_res, msg, len, file); |