From 3d3e1ac077fc7905c1d0a84eb0750c76a34a1f55 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Wed, 14 Mar 2001 22:27:30 +0000 Subject: (fp_nquery): Call __res_ninit not __res_init. --- resolv/res_data.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'resolv/res_data.c') 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); -- cgit v1.1