diff options
author | Wayne Davison <wayned@samba.org> | 2006-11-21 17:46:54 +0000 |
---|---|---|
committer | Wayne Davison <wayned@samba.org> | 2006-11-21 17:46:54 +0000 |
commit | 2a28dd32fddfcb86a8ece12628f765c9f8e88d08 (patch) | |
tree | 1758644203c83ecee094eb552ae6e527e14e7576 /exclude.c | |
parent | 65e83e097c8635856816a07bab5e330a6615dfc1 (diff) | |
download | android_external_rsync-2a28dd32fddfcb86a8ece12628f765c9f8e88d08.tar.gz android_external_rsync-2a28dd32fddfcb86a8ece12628f765c9f8e88d08.tar.bz2 android_external_rsync-2a28dd32fddfcb86a8ece12628f765c9f8e88d08.zip |
The exclude code wasn't sending the MATCHFLG_NEGATE (!) char to the
other side.
Diffstat (limited to 'exclude.c')
-rw-r--r-- | exclude.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -1070,6 +1070,8 @@ char *get_rule_prefix(int match_flags, const char *pat, int for_xfer, else legal_len = 0; + if (match_flags & MATCHFLG_NEGATE) + *op++ = '!'; if (match_flags & MATCHFLG_CVS_IGNORE) *op++ = 'C'; else { |