X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/blobdiff_plain/6105464b79a155d62df97b36b3586f1622399713..60af946576ba43a94d7adea0ff3b5ef5e9e28e09:/loadparm.c diff --git a/loadparm.c b/loadparm.c index cdfff5f6..4c132670 100644 --- a/loadparm.c +++ b/loadparm.c @@ -524,12 +524,11 @@ static int strwicmp(char *psz1, char *psz2) /* sync the strings on first non-whitespace */ while (1) { - while (isspace(* (unsigned char *) psz1)) + while (isSpace(psz1)) psz1++; - while (isspace(* (unsigned char *) psz2)) + while (isSpace(psz2)) psz2++; - if (toupper(* (unsigned char *) psz1) != toupper(* (unsigned char *) psz2) - || *psz1 == '\0' || *psz2 == '\0') + if (toUpper(psz1) != toUpper(psz2) || *psz1 == '\0' || *psz2 == '\0') break; psz1++; psz2++;