diff options
| author | Andrey A. Chernov <ache@FreeBSD.org> | 1999-11-04 04:52:34 +0000 |
|---|---|---|
| committer | Andrey A. Chernov <ache@FreeBSD.org> | 1999-11-04 04:52:34 +0000 |
| commit | fbc8d502c5505e254fae90e4834e9c5658d70ef2 (patch) | |
| tree | 186cb3a96b22277ec6cca36d40398d60e5cf47f3 /lib/libc/net/rcmd.c | |
| parent | d67f4d918d26681bb822d5d0db34e5dbfc30a169 (diff) | |
Notes
Diffstat (limited to 'lib/libc/net/rcmd.c')
| -rw-r--r-- | lib/libc/net/rcmd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libc/net/rcmd.c b/lib/libc/net/rcmd.c index 31a60a6e3386..0424a2a28c06 100644 --- a/lib/libc/net/rcmd.c +++ b/lib/libc/net/rcmd.c @@ -503,7 +503,7 @@ __icheckhost(raddr, lhost) register char **pp; /* Try for raw ip address first. */ - if (isdigit(*lhost) && (u_int32_t)(laddr = inet_addr(lhost)) != -1) + if (isdigit((unsigned char)*lhost) && (u_int32_t)(laddr = inet_addr(lhost)) != -1) return (raddr == laddr); /* Better be a hostname. */ |
