X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/blobdiff_plain/b58bfb2f20afc8fb19bc26d307143dacf7b809db..d3d07a5e860f1cde0e234ec7a1aff7111a2c514f:/exclude.c diff --git a/exclude.c b/exclude.c index f1c4fdf2..027ea7a6 100644 --- a/exclude.c +++ b/exclude.c @@ -4,7 +4,7 @@ * Copyright (C) 1996-2001 Andrew Tridgell * Copyright (C) 1996 Paul Mackerras * Copyright (C) 2002 Martin Pool - * Copyright (C) 2003-2007 Wayne Davison + * Copyright (C) 2003-2008 Wayne Davison * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -26,7 +26,6 @@ extern int verbose; extern int am_server; extern int am_sender; extern int eol_nulls; -extern int recurse; extern int io_error; extern int local_server; extern int prune_empty_dirs; @@ -296,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;