aboutsummaryrefslogtreecommitdiffstats
path: root/exclude.c
diff options
context:
space:
mode:
authorWayne Davison <wayned@samba.org>2005-02-04 21:16:39 +0000
committerWayne Davison <wayned@samba.org>2005-02-04 21:16:39 +0000
commitd09e800a0e7028c35b811a73c388b65321150784 (patch)
tree91ac32a6694cbc34f571fefd7b6068727934d7f1 /exclude.c
parent53b417e4141c344a2c6f29d511d5d21d41a6dfa7 (diff)
downloadandroid_external_rsync-d09e800a0e7028c35b811a73c388b65321150784.tar.gz
android_external_rsync-d09e800a0e7028c35b811a73c388b65321150784.tar.bz2
android_external_rsync-d09e800a0e7028c35b811a73c388b65321150784.zip
Fixed the way get_rule_prefix() turns the MATCHFLG_WORD_SPLIT flag
back into a modifier character.
Diffstat (limited to 'exclude.c')
-rw-r--r--exclude.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/exclude.c b/exclude.c
index 9fdae3e3..eb6c49f1 100644
--- a/exclude.c
+++ b/exclude.c
@@ -932,10 +932,10 @@ char *get_rule_prefix(int match_flags, const char *pat, int sending,
if (match_flags & MATCHFLG_CVS_IGNORE)
*op++ = 'C';
else {
- if (match_flags & MATCHFLG_WORD_SPLIT)
- *op++ = 's';
if (match_flags & MATCHFLG_NO_INHERIT)
*op++ = 'n';
+ if (match_flags & MATCHFLG_WORD_SPLIT)
+ *op++ = 'w';
if (match_flags & MATCHFLG_NO_PREFIXES) {
if (match_flags & MATCHFLG_INCLUDE)
*op++ = '+';