Matt McCutchen's Web Site
/
rsync
/
rsync.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Changed the spots that referred to the filter_level as filter_flags
[rsync/rsync.git]
/
flist.c
diff --git
a/flist.c
b/flist.c
index
7f165a9
..
35294a3
100644
(file)
--- a/
flist.c
+++ b/
flist.c
@@
-1239,14
+1239,14
@@
void unmake_file(struct file_struct *file)
static struct file_struct *send_file_name(int f, struct file_list *flist,
char *fname, STRUCT_STAT *stp,
static struct file_struct *send_file_name(int f, struct file_list *flist,
char *fname, STRUCT_STAT *stp,
- int flags, int filter_
flags
)
+ int flags, int filter_
level
)
{
struct file_struct *file;
#if defined SUPPORT_ACLS || defined SUPPORT_XATTRS
statx sx;
#endif
{
struct file_struct *file;
#if defined SUPPORT_ACLS || defined SUPPORT_XATTRS
statx sx;
#endif
- file = make_file(fname, flist, stp, flags, filter_
flags
);
+ file = make_file(fname, flist, stp, flags, filter_
level
);
if (!file)
return NULL;
if (!file)
return NULL;
@@
-1440,7
+1440,7
@@
static void send_directory(int f, struct file_list *flist, char *fbuf, int len,
DIR *d;
int divert_dirs = (flags & FLAG_DIVERT_DIRS) != 0;
int start = flist->used;
DIR *d;
int divert_dirs = (flags & FLAG_DIVERT_DIRS) != 0;
int start = flist->used;
- int filter_
flags
= f == -2 ? SERVER_FILTERS : ALL_FILTERS;
+ int filter_
level
= f == -2 ? SERVER_FILTERS : ALL_FILTERS;
assert(flist != NULL);
assert(flist != NULL);
@@
-1469,7
+1469,7
@@
static void send_directory(int f, struct file_list *flist, char *fbuf, int len,
continue;
}
continue;
}
- send_file_name(f, flist, fbuf, NULL, flags, filter_
flags
);
+ send_file_name(f, flist, fbuf, NULL, flags, filter_
level
);
}
fbuf[len] = '\0';
}
fbuf[len] = '\0';