summaryrefslogtreecommitdiff
path: root/exclude.c
diff options
context:
space:
mode:
authorWayne Davison <wayned@samba.org>2006-05-03 00:48:20 +0000
committerWayne Davison <wayned@samba.org>2006-05-03 00:48:20 +0000
commit91f4b31fe1031adc3ec3e3066534c9d6be979d21 (patch)
tree83bf591209fc1dac0aa508801023303ce90ecb3c /exclude.c
parentcad8f6f980f4782a6113a5d3ea49ad8d8504aece (diff)
downloadrsync-91f4b31fe1031adc3ec3e3066534c9d6be979d21.tar.gz
Use the new calling syntax for sanitize_path().
Diffstat (limited to 'exclude.c')
-rw-r--r--exclude.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/exclude.c b/exclude.c
index eb2353c0..0da15b23 100644
--- a/exclude.c
+++ b/exclude.c
@@ -298,7 +298,7 @@ static char *parse_merge_name(const char *merge_file, unsigned int *len_ptr,
strlcpy(to, merge_file, *len_ptr + 1);
merge_file = to;
}
- if (!sanitize_path(fn, merge_file, r, dirbuf_depth)) {
+ if (!sanitize_path(fn, merge_file, r, dirbuf_depth, NULL)) {
rprintf(FERROR, "merge-file name overflows: %s\n",
merge_file);
return NULL;