In clean_flist(), if a duplicate is found for a dir and a non-dir,
[rsync/rsync.git] / t_stub.c
index 3104586..055bd7e 100644 (file)
--- a/t_stub.c
+++ b/t_stub.c
@@ -28,7 +28,8 @@
 
 int modify_window = 0;
 int module_id = -1;
-struct exclude_list_struct server_exclude_list;
+char *partial_dir;
+struct filter_list_struct server_filter_list;
 
  void rprintf(UNUSED(enum logcode code), const char *format, ...)
 {
@@ -55,7 +56,7 @@ struct exclude_list_struct server_exclude_list;
        exit(code);
 }
 
- int check_exclude(UNUSED(struct exclude_list_struct *listp), UNUSED(char *name),
+ int check_filter(UNUSED(struct filter_list_struct *listp), UNUSED(char *name),
                   UNUSED(int name_is_dir))
 {
        /* This function doesn't really get called in this test context, so