diff options
author | Wayne Davison <wayned@samba.org> | 2009-05-23 08:01:43 -0700 |
---|---|---|
committer | Wayne Davison <wayned@samba.org> | 2009-05-23 09:07:35 -0700 |
commit | b32d425451798d514b958a978f5f78903ed3327b (patch) | |
tree | ee5f7ee409f4462d89fcedeabaf8d9317835fa41 /batch.c | |
parent | 134f97c9cc42560b888c4bbdaeab4cc338978832 (diff) | |
download | rsync-b32d425451798d514b958a978f5f78903ed3327b.tar.gz |
Change filter MATCHFLGs to FILTRULEs.
Diffstat (limited to 'batch.c')
-rw-r--r-- | batch.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -196,10 +196,10 @@ 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, "- ", 0, &plen); + char *p = get_rule_prefix(ent->rflags, "- ", 0, &plen); write_buf(fd, p, plen); write_sbuf(fd, ent->pattern); - if (ent->match_flags & MATCHFLG_DIRECTORY) + if (ent->rflags & FILTRULE_DIRECTORY) write_byte(fd, '/'); write_byte(fd, eol_nulls ? 0 : '\n'); } |