summaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
authorWayne Davison <wayned@samba.org>2008-03-20 10:42:43 -0700
committerWayne Davison <wayned@samba.org>2008-03-20 10:42:43 -0700
commit819bfe459919769c9ddae14affeaa79596c640bb (patch)
tree782f5d08f6d7627447748e3c778a8ac59e733ca3 /main.c
parentd2f6e192623989eac4015582e1e20f61499cc782 (diff)
downloadrsync-819bfe459919769c9ddae14affeaa79596c640bb.tar.gz
rsync-819bfe459919769c9ddae14affeaa79596c640bb.tar.bz2
rsync-819bfe459919769c9ddae14affeaa79596c640bb.zip
Changed the name of the server_filter_list to be
daemon_filter_list, for improved clarity.
Diffstat (limited to 'main.c')
-rw-r--r--main.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/main.c b/main.c
index 8424e909..629f6d20 100644
--- a/main.c
+++ b/main.c
@@ -78,7 +78,7 @@ extern char *batch_name;
extern char *password_file;
extern char curr_dir[MAXPATHLEN];
extern struct file_list *first_flist;
-extern struct filter_list_struct server_filter_list;
+extern struct filter_list_struct daemon_filter_list;
uid_t our_uid;
int local_server = 0;
@@ -507,9 +507,9 @@ static char *get_local_name(struct file_list *flist, char *dest_path)
if (!dest_path || list_only)
return NULL;
- if (server_filter_list.head
- && (check_filter(&server_filter_list, dest_path, 0 != 0) < 0
- || check_filter(&server_filter_list, dest_path, 1 != 0) < 0)) {
+ if (daemon_filter_list.head
+ && (check_filter(&daemon_filter_list, dest_path, 0 != 0) < 0
+ || check_filter(&daemon_filter_list, dest_path, 1 != 0) < 0)) {
rprintf(FERROR, "skipping daemon-excluded destination \"%s\"\n",
dest_path);
exit_cleanup(RERR_FILESELECT);
@@ -908,9 +908,9 @@ static void do_server_recv(int f_in, int f_out, int argc, char *argv[])
}
check_alt_basis_dirs();
- if (server_filter_list.head) {
+ if (daemon_filter_list.head) {
char **dir_p;
- struct filter_list_struct *elp = &server_filter_list;
+ struct filter_list_struct *elp = &daemon_filter_list;
for (dir_p = basis_dir; *dir_p; dir_p++) {
char *dir = *dir_p;