Decided to undo the last change to avoid backward compatibility
authorWayne Davison <wayned@samba.org>
Fri, 3 Feb 2006 23:40:37 +0000 (23:40 +0000)
committerWayne Davison <wayned@samba.org>
Fri, 3 Feb 2006 23:40:37 +0000 (23:40 +0000)
inconsistencies (it would have been the right thing to do if it
were done that way from the start, but not now).

options.c

index 0f0d8f2c1aa07d6b90111e791ea407c6ac6fe79f..50a820b57ee3501b86f7c2e9a33f5664816c9b19 100644 (file)
--- a/options.c
+++ b/options.c
@@ -1368,8 +1368,7 @@ int parse_arguments(int *argc, const char ***argv, int frommain)
                                clean_fname(partial_dir, 1);
                        if (!*partial_dir || strcmp(partial_dir, ".") == 0)
                                partial_dir = NULL;
-                       else if (*partial_dir != '/'
-                        && check_filter(&filter_list, partial_dir, 1) == 0) {
+                       else if (*partial_dir != '/') {
                                parse_rule(&filter_list, partial_dir,
                                    MATCHFLG_NO_PREFIXES|MATCHFLG_DIRECTORY, 0);
                        }