git.samba.org
/
rsync.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
d727f0f
)
Call get_rule_prefix() with its new arg.
author
Wayne Davison
<wayned@samba.org>
Fri, 4 Feb 2005 21:12:56 +0000
(21:12 +0000)
committer
Wayne Davison
<wayned@samba.org>
Fri, 4 Feb 2005 21:12:56 +0000
(21:12 +0000)
batch.c
patch
|
blob
|
history
diff --git
a/batch.c
b/batch.c
index efc38c33abd2e8453a907edc98bce0d20377cfab..55b01c1f3d2af6ff8d2464d08b4582281a413c83 100644
(file)
--- 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;
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)
write_buf(fd, p, plen);
write_sbuf(fd, ent->pattern);
if (ent->match_flags & MATCHFLG_DIRECTORY)