summaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
authorWayne Davison <wayned@samba.org>2008-03-24 10:09:00 -0700
committerWayne Davison <wayned@samba.org>2008-03-24 10:14:59 -0700
commit1df02d13d304ea5a35ecc81b26a5419904aacd95 (patch)
tree59d8213d6d0f5b96bba4867296a37bd85f0f9639 /main.c
parent73cb6738b33846130c21f2903b2200fa3f1903ab (diff)
downloadrsync-1df02d13d304ea5a35ecc81b26a5419904aacd95.tar.gz
rsync-1df02d13d304ea5a35ecc81b26a5419904aacd95.tar.bz2
rsync-1df02d13d304ea5a35ecc81b26a5419904aacd95.zip
Don't send daemon-config filter-action messages back to the user.
Diffstat (limited to 'main.c')
-rw-r--r--main.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/main.c b/main.c
index ad4fb0af..d9a6c818 100644
--- a/main.c
+++ b/main.c
@@ -508,8 +508,8 @@ static char *get_local_name(struct file_list *flist, char *dest_path)
return NULL;
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)) {
+ && (check_filter(&daemon_filter_list, FLOG, dest_path, 0 != 0) < 0
+ || check_filter(&daemon_filter_list, FLOG, dest_path, 1 != 0) < 0)) {
rprintf(FERROR, "skipping daemon-excluded destination \"%s\"\n",
dest_path);
exit_cleanup(RERR_FILESELECT);
@@ -916,11 +916,11 @@ static void do_server_recv(int f_in, int f_out, int argc, char *argv[])
char *dir = *dir_p;
if (*dir == '/')
dir += module_dirlen;
- if (check_filter(elp, dir, 1) < 0)
+ if (check_filter(elp, FLOG, dir, 1) < 0)
goto options_rejected;
}
if (partial_dir && *partial_dir == '/'
- && check_filter(elp, partial_dir + module_dirlen, 1) < 0) {
+ && check_filter(elp, FLOG, partial_dir + module_dirlen, 1) < 0) {
options_rejected:
rprintf(FERROR,
"Your options have been rejected by the server.\n");