From 16b7dc27a96826f2fe7ea738a7d97521c7f4f3dd Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Mon, 29 Dec 2008 19:53:48 +0000 Subject: * resolv/res_init.c (__res_vinit): Count all servers in statp->nscount. --- resolv/res_init.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'resolv') diff --git a/resolv/res_init.c b/resolv/res_init.c index 670ad23c22..2bf830cc95 100644 --- a/resolv/res_init.c +++ b/resolv/res_init.c @@ -420,7 +420,7 @@ __res_vinit(res_state statp, int preinit) { continue; } } - statp->nscount = nserv; + statp->nscount = nservall; #ifdef _LIBC if (nservall - nserv > 0) { statp->_u._ext.nscount6 = nservall - nserv; -- cgit v1.2.3