summary refs log tree commit diff
path: root/inet/rcmd.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1999-07-01 21:13:35 +0000
committerUlrich Drepper <drepper@redhat.com>1999-07-01 21:13:35 +0000
commitc5f57c58cae865ec63448282295bb078fc935d39 (patch)
treeb43d57610de7ab644aec06ed14019087ae84f7e8 /inet/rcmd.c
parent1d863dc0b41da22b5a06110d67b47a0f102cb639 (diff)
downloadglibc-c5f57c58cae865ec63448282295bb078fc935d39.tar.gz
glibc-c5f57c58cae865ec63448282295bb078fc935d39.tar.xz
glibc-c5f57c58cae865ec63448282295bb078fc935d39.zip
Update.
1999-07-01  Andreas Jaeger  <aj@arthur.rhein-neckar.de>

	* inet/rcmd.c (__icheckhost): Fix typo in last patch.

1999-07-01  Andreas Jaeger  <aj@arthur.rhein-neckar.de>

	* wcsmbs/wcschr.c (wcschr): Fix last patch: Add missing semicolon.
	* wcsmbs/wcsrchr.c (wcsrchr): Likewise.

1999-07-01  Andreas Jaeger  <aj@arthur.rhein-neckar.de>

	* 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.
Diffstat (limited to 'inet/rcmd.c')
-rw-r--r--inet/rcmd.c3
1 files changed, 1 insertions, 2 deletions
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 {