diff options
author | Wayne Davison <wayned@samba.org> | 2005-02-04 21:16:39 +0000 |
---|---|---|
committer | Wayne Davison <wayned@samba.org> | 2005-02-04 21:16:39 +0000 |
commit | d09e800a0e7028c35b811a73c388b65321150784 (patch) | |
tree | 91ac32a6694cbc34f571fefd7b6068727934d7f1 /exclude.c | |
parent | 53b417e4141c344a2c6f29d511d5d21d41a6dfa7 (diff) | |
download | android_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.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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++ = '+'; |