X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/blobdiff_plain/5a8543b8b8cb5944f9fd689899d3b230cd48c70a..4844449a5d4336a39fba52e3f14aaf467e61e8b7:/clientserver.c diff --git a/clientserver.c b/clientserver.c index f38a495f..c0e5d1aa 100644 --- a/clientserver.c +++ b/clientserver.c @@ -332,14 +332,14 @@ static int rsync_module(int f_in, int f_out, int i) return -1; } - if (!push_dir("/", 0)) { + if (!push_dir("/")) { rsyserr(FERROR, errno, "chdir %s failed\n", lp_path(i)); io_printf(f_out, "@ERROR: chdir failed\n"); return -1; } } else { - if (!push_dir(lp_path(i), 0)) { + if (!push_dir(lp_path(i))) { rsyserr(FERROR, errno, "chdir %s failed\n", lp_path(i)); io_printf(f_out, "@ERROR: chdir failed\n"); return -1;