diff options
author | 2013-11-26 21:08:09 +0000 | |
---|---|---|
committer | 2013-11-26 21:08:09 +0000 | |
commit | 28ce9ad7ae13161808b516d4f547e97c643d614f (patch) | |
tree | 8b8fb46c2e4b773cbab6236b1b916c6d40ea23ff /usr.bin/tftp/main.c | |
parent | grow NFS request cache for the server side from 64 to 2048 entries. (diff) | |
download | wireguard-openbsd-28ce9ad7ae13161808b516d4f547e97c643d614f.tar.xz wireguard-openbsd-28ce9ad7ae13161808b516d4f547e97c643d614f.zip |
unsigned char casts for ctype
ok okan
Diffstat (limited to 'usr.bin/tftp/main.c')
-rw-r--r-- | usr.bin/tftp/main.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/tftp/main.c b/usr.bin/tftp/main.c index e69c0467189..debf8dfcca8 100644 --- a/usr.bin/tftp/main.c +++ b/usr.bin/tftp/main.c @@ -1,4 +1,4 @@ -/* $OpenBSD: main.c,v 1.33 2012/05/21 13:14:30 gsoares Exp $ */ +/* $OpenBSD: main.c,v 1.34 2013/11/26 21:08:12 deraadt Exp $ */ /* $NetBSD: main.c,v 1.6 1995/05/21 16:54:10 mycroft Exp $ */ /* @@ -669,13 +669,13 @@ makeargv(void) ret = 1; break; } - while (isspace(*cp)) + while (isspace((unsigned char)*cp)) cp++; if (*cp == '\0') break; *argp++ = cp; margc += 1; - while (*cp != '\0' && !isspace(*cp)) + while (*cp != '\0' && !isspace((unsigned char)*cp)) cp++; if (*cp == '\0') break; |