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
One last minor tweak to clean_fname().
[rsync/rsync.git]
/
util.c
diff --git
a/util.c
b/util.c
index
e18f991
..
79050d3
100644
(file)
--- a/
util.c
+++ b/
util.c
@@
-704,9
+704,7
@@
unsigned int clean_fname(char *name, BOOL collapse_dot_dot)
f += 2;
continue;
}
- *t++ = *f++;
- *t++ = *f++;
- limit = t;
+ limit = t + 2;
}
}
while (*f && (*t++ = *f++) != '/') {}