X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/blobdiff_plain/6bf822649be98a624fd2a0176e624749df636b08..54b405985632b71444f215bb547a2b6a7f0f3637:/batch.c diff --git a/batch.c b/batch.c index efc38c33..55b01c1f 100644 --- a/batch.c +++ b/batch.c @@ -116,7 +116,7 @@ static void write_filter_rules(int fd) write_sbuf(fd, " <<'#E#'\n"); for (ent = filter_list.head; ent; ent = ent->next) { unsigned int plen; - char *p = get_rule_prefix(ent->match_flags, "- ", &plen); + char *p = get_rule_prefix(ent->match_flags, "- ", 0, &plen); write_buf(fd, p, plen); write_sbuf(fd, ent->pattern); if (ent->match_flags & MATCHFLG_DIRECTORY)