summaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
authorWayne Davison <wayned@samba.org>2007-11-20 17:37:53 -0800
committerWayne Davison <wayned@samba.org>2007-11-20 17:37:53 -0800
commit29bca53f9b6c020b5bd226b6378482a203fa7df3 (patch)
treeac880b0227d574aab35d6b2f2a8f2e3c972f9dac /main.c
parentdc2815c1fb40ff8f40eee6e1eaf57deb7fbf1d3d (diff)
downloadrsync-29bca53f9b6c020b5bd226b6378482a203fa7df3.tar.gz
rsync-29bca53f9b6c020b5bd226b6378482a203fa7df3.tar.bz2
rsync-29bca53f9b6c020b5bd226b6378482a203fa7df3.zip
Got rid of the unused symlink parameter to sanitize_path().
Diffstat (limited to 'main.c')
-rw-r--r--main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/main.c b/main.c
index 2fc664c8..304f8be2 100644
--- a/main.c
+++ b/main.c
@@ -926,10 +926,10 @@ static void do_server_recv(int f_in, int f_out, int argc, char *argv[])
if (sanitize_paths) {
char **dir;
for (dir = basis_dir; *dir; dir++) {
- *dir = sanitize_path(NULL, *dir, NULL, curr_dir_depth, NULL);
+ *dir = sanitize_path(NULL, *dir, NULL, curr_dir_depth);
}
if (partial_dir) {
- partial_dir = sanitize_path(NULL, partial_dir, NULL, curr_dir_depth, NULL);
+ partial_dir = sanitize_path(NULL, partial_dir, NULL, curr_dir_depth);
}
}
fix_basis_dirs();