X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/blobdiff_plain/e425fbe85d718e43e284b0c45c55db76f627e4e0..4ce838e1f107239f1b18f3f8cd7c7fbab65e0bd5:/exclude.c diff --git a/exclude.c b/exclude.c index 5c8c7f47..86ed20a1 100644 --- 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); - } else if ((*p == '-' || *p == '+') && p[1] == ' ') { + } else if (*p == '-' || *p == '+') { write_int(f, l + 2); write_buf(f, "- ", 2); } else