summaryrefslogtreecommitdiff
path: root/receiver.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 /receiver.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 'receiver.c')
-rw-r--r--receiver.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/receiver.c b/receiver.c
index da90b5bc..ce6b7394 100644
--- a/receiver.c
+++ b/receiver.c
@@ -490,7 +490,7 @@ int recv_files(int f_in, char *local_name)
cleanup_got_literal = 0;
if (daemon_filter_list.head
- && check_filter(&daemon_filter_list, fname, 0) < 0) {
+ && check_filter(&daemon_filter_list, FLOG, fname, 0) < 0) {
rprintf(FERROR, "attempt to hack rsync failed.\n");
exit_cleanup(RERR_PROTOCOL);
}
@@ -556,7 +556,7 @@ int recv_files(int f_in, char *local_name)
break;
}
if (!fnamecmp || (daemon_filter_list.head
- && check_filter(&daemon_filter_list, fname, 0) < 0)) {
+ && check_filter(&daemon_filter_list, FLOG, fname, 0) < 0)) {
fnamecmp = fname;
fnamecmp_type = FNAMECMP_FNAME;
}