aboutsummaryrefslogtreecommitdiffstats
path: root/clientserver.c
diff options
context:
space:
mode:
authorWayne Davison <wayned@samba.org>2006-10-08 20:57:01 +0000
committerWayne Davison <wayned@samba.org>2006-10-08 20:57:01 +0000
commit6f3684ffb5a772925a970ff61a01512fbb77da60 (patch)
treefa278fc1c9deed651f45f08aa096f5f7d220ce69 /clientserver.c
parent615a5415c9f3b156f3f456688f8b702fa05deb8d (diff)
downloadandroid_external_rsync-6f3684ffb5a772925a970ff61a01512fbb77da60.tar.gz
android_external_rsync-6f3684ffb5a772925a970ff61a01512fbb77da60.tar.bz2
android_external_rsync-6f3684ffb5a772925a970ff61a01512fbb77da60.zip
Call push_dir() with its new boolean arg.
Diffstat (limited to 'clientserver.c')
-rw-r--r--clientserver.c4
1 files changed, 2 insertions, 2 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");