From 1e54947d0c2fc6379b5bb9ef0e9e969a3c8f6204 Mon Sep 17 00:00:00 2001 From: Ralph Corderoy Date: Fri, 21 Oct 2016 20:39:11 +0100 Subject: [PATCH] Assume POSIX ctype.h; don't vet tolower()'s parameter. --- uip/sortm.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/uip/sortm.c b/uip/sortm.c index 9351ec03..7cc2283c 100644 --- a/uip/sortm.c +++ b/uip/sortm.c @@ -451,8 +451,7 @@ get_fields (char *datesw, int msg, struct smsg *smsg) while ((c = *cp++)) { if (isascii((unsigned char) c) && isalnum((unsigned char) c)) - *cp2++ = isupper((unsigned char) c) ? - tolower((unsigned char) c) : c; + *cp2++ = tolower((unsigned char)c); } *cp2 = '\0'; -- 2.56.0