Matt McCutchen's Web Site
/
rsync
/
rsync.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
- Fixed a compile problem ("len" not defined) in inet_ntop4().
[rsync/rsync.git]
/
clientserver.c
diff --git
a/clientserver.c
b/clientserver.c
index
00c492b
..
5e8ae52
100644
(file)
--- 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;
}
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");
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 {
}
} 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");
rsyserr(FLOG, errno, "chdir %s failed\n",
lp_path(i));
io_printf(f_out, "@ERROR: chdir failed\n");