From: Wayne Davison Date: Tue, 21 Nov 2006 17:46:54 +0000 (+0000) Subject: The exclude code wasn't sending the MATCHFLG_NEGATE (!) char to the X-Git-Tag: v3.0.0pre1~554 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2a28dd32fddfcb86a8ece12628f765c9f8e88d08;p=thirdparty%2Frsync.git The exclude code wasn't sending the MATCHFLG_NEGATE (!) char to the other side. --- diff --git a/exclude.c b/exclude.c index 1ed19dd4..11b187c6 100644 --- a/exclude.c +++ b/exclude.c @@ -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 {