aboutsummaryrefslogtreecommitdiffstats
path: root/batch.c
diff options
context:
space:
mode:
authorWayne Davison <wayned@samba.org>2005-02-04 21:12:56 +0000
committerWayne Davison <wayned@samba.org>2005-02-04 21:12:56 +0000
commitdd667c230115522223539e71d0983ade2c6d7cfe (patch)
tree98fec255d2b97a4b12a2e09cd347aa0149099ea8 /batch.c
parentd727f0ff4828998b91827455804f674f16457d71 (diff)
downloadandroid_external_rsync-dd667c230115522223539e71d0983ade2c6d7cfe.tar.gz
android_external_rsync-dd667c230115522223539e71d0983ade2c6d7cfe.tar.bz2
android_external_rsync-dd667c230115522223539e71d0983ade2c6d7cfe.zip
Call get_rule_prefix() with its new arg.
Diffstat (limited to 'batch.c')
-rw-r--r--batch.c2
1 files changed, 1 insertions, 1 deletions
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)