From 9ef5ff680d3f49f6d87e0db802c093c597c4f1c5 Mon Sep 17 00:00:00 2001 From: pefo <> Date: Sat, 15 Mar 1997 21:53:50 +0000 Subject: res_close is defined in a macro and should apperently not be used as _res_close. --- src/lib/libc/net/sethostent.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/lib') diff --git a/src/lib/libc/net/sethostent.c b/src/lib/libc/net/sethostent.c index 58b50ae0a1..5392a2f11b 100644 --- a/src/lib/libc/net/sethostent.c +++ b/src/lib/libc/net/sethostent.c @@ -32,7 +32,7 @@ */ #if defined(LIBC_SCCS) && !defined(lint) -static char rcsid[] = "$OpenBSD: sethostent.c,v 1.3 1996/08/19 08:29:53 tholo Exp $"; +static char rcsid[] = "$OpenBSD: sethostent.c,v 1.4 1997/03/15 21:53:50 pefo Exp $"; #endif /* LIBC_SCCS and not lint */ #include @@ -56,5 +56,5 @@ void endhostent() { _res.options &= ~(RES_STAYOPEN | RES_USEVC); - _res_close(); + res_close(); } -- cgit v1.2.3-55-g6feb