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
- Changed XMIT_TOP_DIR to XMIT_DEL_START.
[rsync/rsync.git]
/
exclude.c
diff --git
a/exclude.c
b/exclude.c
index
5c8c7f4
..
86ed20a
100644
(file)
--- a/
exclude.c
+++ b/
exclude.c
@@
-405,7
+405,7
@@
void send_exclude_list(int f)
if (ent->match_flags & MATCHFLG_INCLUDE) {
write_int(f, l + 2);
write_buf(f, "+ ", 2);
if (ent->match_flags & MATCHFLG_INCLUDE) {
write_int(f, l + 2);
write_buf(f, "+ ", 2);
- } else if (
(*p == '-' || *p == '+') && p[1] == '
') {
+ } else if (
*p == '-' || *p == '+
') {
write_int(f, l + 2);
write_buf(f, "- ", 2);
} else
write_int(f, l + 2);
write_buf(f, "- ", 2);
} else