aboutsummaryrefslogtreecommitdiff
path: root/resolv
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2001-03-14 22:27:30 +0000
committerUlrich Drepper <drepper@redhat.com>2001-03-14 22:27:30 +0000
commit3d3e1ac077fc7905c1d0a84eb0750c76a34a1f55 (patch)
tree8e6de91c521eced5fb8fb0c1821eda1b06e7a56c /resolv
parentcd6e89b28541ed996370fbad6af4fec095e27a6a (diff)
downloadglibc-3d3e1ac077fc7905c1d0a84eb0750c76a34a1f55.tar
glibc-3d3e1ac077fc7905c1d0a84eb0750c76a34a1f55.tar.gz
glibc-3d3e1ac077fc7905c1d0a84eb0750c76a34a1f55.tar.bz2
glibc-3d3e1ac077fc7905c1d0a84eb0750c76a34a1f55.zip
(fp_nquery): Call __res_ninit not __res_init.
Diffstat (limited to 'resolv')
-rw-r--r--resolv/res_data.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/resolv/res_data.c b/resolv/res_data.c
index 968f820d5f..30d8ab94ff 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);