From 4b1fef8482da6863711fdb64f06413f06424dad7 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Fri, 2 Feb 2001 08:24:56 +0000 Subject: Update. 2001-02-02 Ulrich Drepper * string/tst-svc.input: Add two more test cases. * string/tst-svc.expect: Modify to reflect new test cases. 2001-02-01 Jakub Jelinek * sysdeps/posix/getaddrinfo.c (gaih_local, gaih_inet): Replace all tp->name tests with tp->name[0] tests. 2001-01-29 Ben Collins * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r): Fix check for name == NULL. --- nis/nss_nisplus/nisplus-ethers.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'nis') diff --git a/nis/nss_nisplus/nisplus-ethers.c b/nis/nss_nisplus/nisplus-ethers.c index 061dfbffa0..cbba2d39b5 100644 --- a/nis/nss_nisplus/nisplus-ethers.c +++ b/nis/nss_nisplus/nisplus-ethers.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1997, 1998, 2000 Free Software Foundation, Inc. +/* Copyright (C) 1997, 1998, 2000, 2001 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Thorsten Kukuk , 1997. @@ -222,7 +222,7 @@ _nss_nisplus_gethostton_r (const char *name, struct etherent *eth, return status; } - if (name != NULL) + if (name == NULL) { *errnop = EINVAL; return NSS_STATUS_UNAVAIL; -- cgit v1.2.3