Skip to content

Commit

Permalink
* resolv/res_init.c (__res_vinit): Count all servers in statp->nscount.
Browse files Browse the repository at this point in the history
  • Loading branch information
Ulrich Drepper committed Dec 29, 2008
1 parent bf93cd3 commit 16b7dc2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -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]
Expand Down
2 changes: 1 addition & 1 deletion resolv/res_init.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 16b7dc2

Please sign in to comment.