summaryrefslogtreecommitdiffstats
path: root/usr.bin/ftp/fetch.c
diff options
context:
space:
mode:
authorache <ache@FreeBSD.org>1997-12-16 08:22:37 +0000
committerache <ache@FreeBSD.org>1997-12-16 08:22:37 +0000
commit57d8708b904f96b497b311982762ec0fd41de087 (patch)
treee9d380820db9f346d691557dc1b7ff9eceef112a /usr.bin/ftp/fetch.c
parent126c5b135890ca392234b124346ac9a224f2ca4b (diff)
downloadFreeBSD-src-57d8708b904f96b497b311982762ec0fd41de087.zip
FreeBSD-src-57d8708b904f96b497b311982762ec0fd41de087.tar.gz
Add more (unsigned char) casts to ctype macros
Diffstat (limited to 'usr.bin/ftp/fetch.c')
-rw-r--r--usr.bin/ftp/fetch.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/ftp/fetch.c b/usr.bin/ftp/fetch.c
index 4283b35..2c9f58c 100644
--- a/usr.bin/ftp/fetch.c
+++ b/usr.bin/ftp/fetch.c
@@ -38,7 +38,7 @@
#include <sys/cdefs.h>
#ifndef lint
-__RCSID("$Id$");
+__RCSID("$Id: fetch.c,v 1.3 1997/12/13 20:38:16 pst Exp $");
__RCSID_SOURCE("$NetBSD: fetch.c,v 1.16.2.1 1997/11/18 01:00:22 mellon Exp $");
#endif /* not lint */
@@ -183,7 +183,7 @@ url_get(origline, proxyenv)
memset(&sin, 0, sizeof(sin));
sin.sin_family = AF_INET;
- if (isdigit(host[0])) {
+ if (isdigit((unsigned char)host[0])) {
if (inet_aton(host, &sin.sin_addr) == 0) {
warnx("Invalid IP address: %s", host);
goto cleanup_url_get;
OpenPOWER on IntegriCloud