summaryrefslogtreecommitdiff
path: root/usr.bin/cvs/getlog.c
diff options
context:
space:
mode:
authorOkan Demirmen <okan@cvs.openbsd.org>2014-01-08 13:23:56 +0000
committerOkan Demirmen <okan@cvs.openbsd.org>2014-01-08 13:23:56 +0000
commit384072eaeeb9844599c9ddbe70625a202c0d42b7 (patch)
treea3033105abb6f444bbe04dea1204367009ce7b0b /usr.bin/cvs/getlog.c
parent6a558896806347599d70a206676a4850257d8cde (diff)
unsigned char for ctype. ok deraadt
Diffstat (limited to 'usr.bin/cvs/getlog.c')
-rw-r--r--usr.bin/cvs/getlog.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/cvs/getlog.c b/usr.bin/cvs/getlog.c
index dd045919cb9..4911c1bf6af 100644
--- a/usr.bin/cvs/getlog.c
+++ b/usr.bin/cvs/getlog.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: getlog.c,v 1.96 2013/06/03 17:04:35 jcs Exp $ */
+/* $OpenBSD: getlog.c,v 1.97 2014/01/08 13:23:55 okan Exp $ */
/*
* Copyright (c) 2005, 2006 Xavier Santolaria <xsa@openbsd.org>
* Copyright (c) 2006 Joris Vink <joris@openbsd.org>
@@ -464,7 +464,7 @@ date_select(RCSFILE *file, char *date)
delim = '\0';
last = "\0";
} else {
- while (*last && isspace(*last))
+ while (*last && isspace((unsigned char)*last))
last++;
}