X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/blobdiff_plain/615a5415c9f3b156f3f456688f8b702fa05deb8d..6f3684ffb5a772925a970ff61a01512fbb77da60:/clientserver.c 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");