X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/blobdiff_plain/6105464b79a155d62df97b36b3586f1622399713..3a5a7de6c91a1943f2a264a1606450e3a7f0c295:/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++;