mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-28 00:21:52 +03:00
* resolv/res_init.c (__res_vinit): Count all servers in statp->nscount.
This commit is contained in:
@ -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>
|
2008-12-21 Bruno Haible <bruno@clisp.org>
|
||||||
|
|
||||||
[BZ #9677]
|
[BZ #9677]
|
||||||
|
@ -420,7 +420,7 @@ __res_vinit(res_state statp, int preinit) {
|
|||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
statp->nscount = nserv;
|
statp->nscount = nservall;
|
||||||
#ifdef _LIBC
|
#ifdef _LIBC
|
||||||
if (nservall - nserv > 0) {
|
if (nservall - nserv > 0) {
|
||||||
statp->_u._ext.nscount6 = nservall - nserv;
|
statp->_u._ext.nscount6 = nservall - nserv;
|
||||||
|
Reference in New Issue
Block a user