diff options
author | deraadt <deraadt@openbsd.org> | 2013-11-24 01:06:18 +0000 |
---|---|---|
committer | deraadt <deraadt@openbsd.org> | 2013-11-24 01:06:18 +0000 |
commit | 2bfe03999b4a8143a9ea58d5f71f50e2fae4faf1 (patch) | |
tree | c6e22c2c8cb1af26a2251f8bc06eb8c800a0a0ec /usr.sbin/ypbind | |
parent | fairly obvious ctype cleanup dealing with argv (diff) | |
download | wireguard-openbsd-2bfe03999b4a8143a9ea58d5f71f50e2fae4faf1.tar.xz wireguard-openbsd-2bfe03999b4a8143a9ea58d5f71f50e2fae4faf1.zip |
more unsigned char casts for ctype
ok jca
Diffstat (limited to 'usr.sbin/ypbind')
-rw-r--r-- | usr.sbin/ypbind/ypbind.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/ypbind/ypbind.c b/usr.sbin/ypbind/ypbind.c index 4fdd29a4c38..122530fa124 100644 --- a/usr.sbin/ypbind/ypbind.c +++ b/usr.sbin/ypbind/ypbind.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ypbind.c,v 1.59 2009/10/27 23:59:57 deraadt Exp $ */ +/* $OpenBSD: ypbind.c,v 1.60 2013/11/24 01:06:19 deraadt Exp $ */ /* * Copyright (c) 1992, 1993, 1996, 1997, 1998 Theo de Raadt <deraadt@openbsd.org> @@ -839,7 +839,7 @@ direct(struct _dom_binding *ypdb, char *buf, int outlen) } *p = '\0'; p = line; - while (isspace(*p)) + while (isspace((unsigned char)*p)) p++; if (*p == '#') continue; |