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
Renamed several exclude-related functions/variables using new
[rsync/rsync.git]
/
receiver.c
diff --git
a/receiver.c
b/receiver.c
index
80e645a
..
01f7925
100644
(file)
--- a/
receiver.c
+++ b/
receiver.c
@@
-49,7
+49,7
@@
extern int keep_partial;
extern int checksum_seed;
extern int inplace;
extern int checksum_seed;
extern int inplace;
-extern struct
exclude_list_struct server_exclude
_list;
+extern struct
filter_list_struct server_filter
_list;
/* This deletes any files on the receiving side that are not present on the
/* This deletes any files on the receiving side that are not present on the
@@
-360,8
+360,8
@@
int recv_files(int f_in, struct file_list *flist, char *local_name,
next_gen_i = -1;
}
next_gen_i = -1;
}
- if (server_
exclude
_list.head
- && check_
exclude(&server_exclude
_list, fname,
+ if (server_
filter
_list.head
+ && check_
filter(&server_filter
_list, fname,
S_ISDIR(file->mode)) < 0) {
rprintf(FERROR, "attempt to hack rsync failed.\n");
exit_cleanup(RERR_PROTOCOL);
S_ISDIR(file->mode)) < 0) {
rprintf(FERROR, "attempt to hack rsync failed.\n");
exit_cleanup(RERR_PROTOCOL);