X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/blobdiff_plain/503114a78223b8f5ebaed787aa68496984a3e4d9..fdd10da6f7995296f6bb5ee3dd7231d6dbc20b5e:/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");