diff options
Diffstat (limited to 'inet')
-rw-r--r-- | inet/rcmd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/inet/rcmd.c b/inet/rcmd.c index d8235daf70..923f21fe40 100644 --- a/inet/rcmd.c +++ b/inet/rcmd.c @@ -270,7 +270,7 @@ ruserok(rhost, superuser, ruser, luser) buffer = __alloca (buflen); while (__gethostbyname_r (rhost, &hostbuf, buffer, buflen, &hp, &herr) - < 0) + != 0) if (herr != NETDB_INTERNAL || errno != ERANGE) return -1; else |