X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/blobdiff_plain/808c57c3439ed65062ff79193a67b1e281060ab1..59187666b904387f8531f36d804b1501772ebde9:/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;