diff options
author | joseph <joseph@7b3dc134-2b1b-0410-93df-9e9f96275f8d> | 2009-02-13 18:31:14 +0000 |
---|---|---|
committer | joseph <joseph@7b3dc134-2b1b-0410-93df-9e9f96275f8d> | 2009-02-13 18:31:14 +0000 |
commit | 90b6943f0a77fe847ccc8037447ee56a796a1915 (patch) | |
tree | 5991cf54ea093cb5af534d3acdf7e012ac219b81 /libc/resolv | |
parent | 75b72fe085a17b1448190cb9d5cd31124320f3a3 (diff) |
Merge changes between r7867 and r7922 from /fsf/trunk.
git-svn-id: svn://svn.eglibc.org/trunk@7923 7b3dc134-2b1b-0410-93df-9e9f96275f8d
Diffstat (limited to 'libc/resolv')
-rw-r--r-- | libc/resolv/res_libc.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/libc/resolv/res_libc.c b/libc/resolv/res_libc.c index 8af57f7a4..810fbc804 100644 --- a/libc/resolv/res_libc.c +++ b/libc/resolv/res_libc.c @@ -96,10 +96,9 @@ __res_maybe_init (res_state resp, int preinit) { if (resp->options & RES_INIT) { if (__res_initstamp != resp->_u._ext.initstamp) { - if (resp->nscount > 0) { + if (resp->nscount > 0) __res_iclose (resp, true); - return __res_vinit (resp, 1); - } + return __res_vinit (resp, 1); } return 0; } else if (preinit) { |