summaryrefslogtreecommitdiff
path: root/nis
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2001-02-02 08:24:56 +0000
committerUlrich Drepper <drepper@redhat.com>2001-02-02 08:24:56 +0000
commit4b1fef8482da6863711fdb64f06413f06424dad7 (patch)
tree883ede0090b13e8c31b9178773134a73284eebaf /nis
parentb71e7ce8641f7331de82cabea384359cf6d8546d (diff)
Update.
2001-02-02 Ulrich Drepper <drepper@redhat.com> * string/tst-svc.input: Add two more test cases. * string/tst-svc.expect: Modify to reflect new test cases. 2001-02-01 Jakub Jelinek <jakub@redhat.com> * sysdeps/posix/getaddrinfo.c (gaih_local, gaih_inet): Replace all tp->name tests with tp->name[0] tests. 2001-01-29 Ben Collins <bcollins@debian.org> * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r): Fix check for name == NULL.
Diffstat (limited to 'nis')
-rw-r--r--nis/nss_nisplus/nisplus-ethers.c4
1 files changed, 2 insertions, 2 deletions
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 <kukuk@suse.de>, 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;