From c5f57c58cae865ec63448282295bb078fc935d39 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Thu, 1 Jul 1999 21:13:35 +0000 Subject: Update. 1999-07-01 Andreas Jaeger * inet/rcmd.c (__icheckhost): Fix typo in last patch. 1999-07-01 Andreas Jaeger * wcsmbs/wcschr.c (wcschr): Fix last patch: Add missing semicolon. * wcsmbs/wcsrchr.c (wcsrchr): Likewise. 1999-07-01 Andreas Jaeger * posix/wordexp.c (parse_tilde): Handle failing call to get.*_r functions correctly for non-existing entry. * sysdeps/posix/cuserid.c (cuserid): Likewise. * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Likewise. --- inet/rcmd.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'inet') diff --git a/inet/rcmd.c b/inet/rcmd.c index 30f20d1922..2d2ed8044f 100644 --- a/inet/rcmd.c +++ b/inet/rcmd.c @@ -472,8 +472,7 @@ __icheckhost (raddr, lhost, rhost) buffer = __alloca (buflen); save_errno = errno; while (__gethostbyname_r (lhost, &hostbuf, buffer, buflen, &hp, &herr) - != 0 - || hp = NULL) + != 0) if (herr != NETDB_INTERNAL || errno != ERANGE) return (0); else { -- cgit 1.4.1