X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/blobdiff_plain/e0930845ce339fc51f607ba19bc40a8685118b91..2dc7b8bd0e8d4a2d91334b9bb458df146b1700e8:/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++;