X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/blobdiff_plain/e0930845ce339fc51f607ba19bc40a8685118b91..2dc7b8bd0e8d4a2d91334b9bb458df146b1700e8:/params.c diff --git a/params.c b/params.c index 04216877..e543cd75 100644 --- a/params.c +++ b/params.c @@ -165,7 +165,7 @@ static int Continuation( char *line, int pos ) */ { pos--; - while( (pos >= 0) && isspace(((unsigned char *)line)[pos]) ) + while( pos >= 0 && isSpace(line + pos) ) pos--; return( ((pos >= 0) && ('\\' == line[pos])) ? pos : -1 ); @@ -387,7 +387,7 @@ static BOOL Parameter( FILE *InFile, BOOL (*pfunc)(char *, char *), int c ) c = 0; else { - for( end = i; (end >= 0) && isspace(((unsigned char *) bufr)[end]); end-- ) + for( end = i; end >= 0 && isSpace(bufr + end); end-- ) ; c = getc( InFile ); }