From 90b6943f0a77fe847ccc8037447ee56a796a1915 Mon Sep 17 00:00:00 2001 From: joseph Date: Fri, 13 Feb 2009 18:31:14 +0000 Subject: Merge changes between r7867 and r7922 from /fsf/trunk. git-svn-id: svn://svn.eglibc.org/trunk@7923 7b3dc134-2b1b-0410-93df-9e9f96275f8d --- libc/resolv/res_libc.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'libc/resolv') 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) { -- cgit v1.2.3