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
Don't send daemon-config filter-action messages back to the user.
[rsync/rsync.git]
/
util.c
diff --git
a/util.c
b/util.c
index
6f5bfc5
..
27894a1
100644
(file)
--- a/
util.c
+++ b/
util.c
@@
-593,7
+593,7
@@
static inline void call_glob_match(const char *name, int len, int from_glob,
return;
if (daemon_filter_list.head
return;
if (daemon_filter_list.head
- && check_filter(&daemon_filter_list, use_buf, is_dir) < 0)
+ && check_filter(&daemon_filter_list,
FLOG,
use_buf, is_dir) < 0)
return;
}
return;
}
@@
-1070,10
+1070,10
@@
char *partial_dir_fname(const char *fname)
if (daemon_filter_list.head) {
t = strrchr(partial_fname, '/');
*t = '\0';
if (daemon_filter_list.head) {
t = strrchr(partial_fname, '/');
*t = '\0';
- if (check_filter(&daemon_filter_list, partial_fname, 1) < 0)
+ if (check_filter(&daemon_filter_list,
FLOG,
partial_fname, 1) < 0)
return NULL;
*t = '/';
return NULL;
*t = '/';
- if (check_filter(&daemon_filter_list, partial_fname, 0) < 0)
+ if (check_filter(&daemon_filter_list,
FLOG,
partial_fname, 0) < 0)
return NULL;
}
return NULL;
}