* resolv/res_init.c (__res_vinit): Count all servers in statp->nscount.
authorUlrich Drepper <drepper@redhat.com>
Mon, 29 Dec 2008 19:53:48 +0000 (19:53 +0000)
committerUlrich Drepper <drepper@redhat.com>
Mon, 29 Dec 2008 19:53:48 +0000 (19:53 +0000)
ChangeLog
resolv/res_init.c

index ef81776..f271715 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2008-12-29  Ulrich Drepper  <drepper@redhat.com>
+
+       * resolv/res_init.c (__res_vinit): Count all servers in statp->nscount.
+
 2008-12-21  Bruno Haible  <bruno@clisp.org>
 
        [BZ #9677]
index 670ad23..2bf830c 100644 (file)
@@ -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;