X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/blobdiff_plain/dc2815c1fb40ff8f40eee6e1eaf57deb7fbf1d3d..29bca53f9b6c020b5bd226b6378482a203fa7df3:/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;