From 1a9dd4e4e42315b3c744b346e4696d1362b1fc9a Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Sat, 7 Feb 2009 04:40:57 +0000 Subject: [BZ #9781] * grp/compat-initgroups.c (compat_call): Switch to use malloc when the input line is too long. --- resolv/res_libc.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'resolv/res_libc.c') diff --git a/resolv/res_libc.c b/resolv/res_libc.c index 8af57f7a4a..810fbc804d 100644 --- a/resolv/res_libc.c +++ b/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 1.4.1