Refactorings to the filter code, most notably:
[rsync/rsync.git] / compat.c
index 5ba9a4c..94eef43 100644 (file)
--- a/compat.c
+++ b/compat.c
@@ -294,7 +294,7 @@ void setup_protocol(int f_out,int f_in)
                int flags = MATCHFLG_NO_PREFIXES | MATCHFLG_DIRECTORY;
                if (!am_sender || protocol_version >= 30)
                        flags |= MATCHFLG_PERISHABLE;
-               parse_rule(&filter_list, partial_dir, flags, 0);
+               load_filter_str(&filter_list, partial_dir, filter_template(flags), 0);
        }