X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/blobdiff_plain/c5d77e9659bb40db09376beb31ba9d23396ae601..71daa07fb1c791c0f5eba3fc1b615df3a46441fc:/exclude.c diff --git a/exclude.c b/exclude.c index 467731c4..7d9ea352 100644 --- a/exclude.c +++ b/exclude.c @@ -295,7 +295,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, NULL)) { + if (!sanitize_path(fn, merge_file, r, dirbuf_depth)) { rprintf(FERROR, "merge-file name overflows: %s\n", merge_file); return NULL;