Matt McCutchen's Web Site
/
rsync
/
rsync.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fixed --delete-delay by making the fprintf() output an unsigned short
[rsync/rsync.git]
/
params.c
diff --git
a/params.c
b/params.c
index
0421687
..
e543cd7
100644
(file)
--- a/
params.c
+++ b/
params.c
@@
-165,7
+165,7
@@
static int Continuation( char *line, int pos )
*/
{
pos--;
*/
{
pos--;
- while(
(pos >= 0) && isspace(((unsigned char *)line)[pos]
) )
+ while(
pos >= 0 && isSpace(line + pos
) )
pos--;
return( ((pos >= 0) && ('\\' == line[pos])) ? pos : -1 );
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
{
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 );
}
;
c = getc( InFile );
}