]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
* 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 ef81776cc2691fc545885955c8929dfc7839132e..f271715077d84beb3822f393b2c14bee58aeea75 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 670ad23c2290aefe6594d3e564b31c3cf012fc4d..2bf830cc950457da353814d05b5ef487a1276179 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;