X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/blobdiff_plain/6105464b79a155d62df97b36b3586f1622399713..ba2133d6add082b059728074febdac6c520a4351:/loadparm.c diff --git a/loadparm.c b/loadparm.c index cdfff5f6..d82c205a 100644 --- a/loadparm.c +++ b/loadparm.c @@ -3,9 +3,8 @@ /* * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. + * it under the terms of the GNU General Public License version 2 as + * published by the Free Software Foundation. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of @@ -524,12 +523,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++;