From 6f3684ffb5a772925a970ff61a01512fbb77da60 Mon Sep 17 00:00:00 2001 From: Wayne Davison Date: Sun, 8 Oct 2006 20:57:01 +0000 Subject: [PATCH] Call push_dir() with its new boolean arg. --- clientserver.c | 4 ++-- flist.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/clientserver.c b/clientserver.c index 00c492b1..5e8ae526 100644 --- a/clientserver.c +++ b/clientserver.c @@ -503,7 +503,7 @@ static int rsync_module(int f_in, int f_out, int i, char *addr, char *host) return -1; } - if (!push_dir("/")) { + if (!push_dir("/", 0)) { rsyserr(FLOG, errno, "chdir %s failed\n", lp_path(i)); io_printf(f_out, "@ERROR: chdir failed\n"); @@ -511,7 +511,7 @@ static int rsync_module(int f_in, int f_out, int i, char *addr, char *host) } } else { - if (!push_dir(lp_path(i))) { + if (!push_dir(lp_path(i), 0)) { rsyserr(FLOG, errno, "chdir %s failed\n", lp_path(i)); io_printf(f_out, "@ERROR: chdir failed\n"); diff --git a/flist.c b/flist.c index 979090e7..16c95aba 100644 --- a/flist.c +++ b/flist.c @@ -1073,7 +1073,7 @@ struct file_list *send_file_list(int f, int argc, char *argv[]) if (filesfrom_fd >= 0) { if (sanitize_paths) die_on_unsafe_path(argv[0], 0); - if (argv[0] && !push_dir(argv[0])) { + if (argv[0] && !push_dir(argv[0], 0)) { rsyserr(FERROR, errno, "push_dir %s failed", full_fname(argv[0])); exit_cleanup(RERR_FILESELECT); @@ -1211,7 +1211,7 @@ struct file_list *send_file_list(int f, int argc, char *argv[]) strlcpy(olddir, curr_dir, sizeof olddir); - if (!push_dir(dir)) { + if (!push_dir(dir, 0)) { io_error |= IOERR_GENERAL; rsyserr(FERROR, errno, "push_dir %s failed", full_fname(dir)); -- 2.34.1