summaryrefslogtreecommitdiff
path: root/clientserver.c
diff options
context:
space:
mode:
authorWayne Davison <wayned@samba.org>2008-03-22 12:34:03 -0700
committerWayne Davison <wayned@samba.org>2008-03-22 14:02:34 -0700
commitf5aeb6ff9b04432a84b5c79f5baac26be1f3f4e9 (patch)
tree7f4d04fb775e653056986dc38b429db3145cf00e /clientserver.c
parent4c74d44dabd887a5b865e95e8fca697f9084b40f (diff)
downloadrsync-f5aeb6ff9b04432a84b5c79f5baac26be1f3f4e9.tar.gz
rsync-f5aeb6ff9b04432a84b5c79f5baac26be1f3f4e9.tar.bz2
rsync-f5aeb6ff9b04432a84b5c79f5baac26be1f3f4e9.zip
Added XFLG_DIR2WILD3 flag that the daemon uses to transform any
config-file dir/ exclude rule into a dir/*** rule.
Diffstat (limited to 'clientserver.c')
-rw-r--r--clientserver.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/clientserver.c b/clientserver.c
index 93c90c6b..39a8cedf 100644
--- a/clientserver.c
+++ b/clientserver.c
@@ -533,24 +533,24 @@ static int rsync_module(int f_in, int f_out, int i, char *addr, char *host)
p = lp_filter(i);
parse_rule(&daemon_filter_list, p, MATCHFLG_WORD_SPLIT,
- XFLG_ABS_IF_SLASH);
+ XFLG_ABS_IF_SLASH | XFLG_DIR2WILD3);
p = lp_include_from(i);
parse_filter_file(&daemon_filter_list, p, MATCHFLG_INCLUDE,
- XFLG_ABS_IF_SLASH | XFLG_OLD_PREFIXES | XFLG_FATAL_ERRORS);
+ XFLG_ABS_IF_SLASH | XFLG_DIR2WILD3 | XFLG_OLD_PREFIXES | XFLG_FATAL_ERRORS);
p = lp_include(i);
parse_rule(&daemon_filter_list, p,
MATCHFLG_INCLUDE | MATCHFLG_WORD_SPLIT,
- XFLG_ABS_IF_SLASH | XFLG_OLD_PREFIXES);
+ XFLG_ABS_IF_SLASH | XFLG_DIR2WILD3 | XFLG_OLD_PREFIXES);
p = lp_exclude_from(i);
parse_filter_file(&daemon_filter_list, p, 0,
- XFLG_ABS_IF_SLASH | XFLG_OLD_PREFIXES | XFLG_FATAL_ERRORS);
+ XFLG_ABS_IF_SLASH | XFLG_DIR2WILD3 | XFLG_OLD_PREFIXES | XFLG_FATAL_ERRORS);
p = lp_exclude(i);
parse_rule(&daemon_filter_list, p, MATCHFLG_WORD_SPLIT,
- XFLG_ABS_IF_SLASH | XFLG_OLD_PREFIXES);
+ XFLG_ABS_IF_SLASH | XFLG_DIR2WILD3 | XFLG_OLD_PREFIXES);
log_init(1);