aboutsummaryrefslogtreecommitdiffstats
path: root/clientserver.c
diff options
context:
space:
mode:
authorWayne Davison <wayned@samba.org>2006-02-21 00:29:55 +0000
committerWayne Davison <wayned@samba.org>2006-02-21 00:29:55 +0000
commitf041b025573c494d19215134fe4f39e729a59d76 (patch)
tree244414096b597023b81707f5488fd8b32c74d42d /clientserver.c
parent4d8639eb2d92facd482523465ea0fbffcddfc2ed (diff)
downloadandroid_external_rsync-f041b025573c494d19215134fe4f39e729a59d76.tar.gz
android_external_rsync-f041b025573c494d19215134fe4f39e729a59d76.tar.bz2
android_external_rsync-f041b025573c494d19215134fe4f39e729a59d76.zip
Added a comment.
Diffstat (limited to 'clientserver.c')
-rw-r--r--clientserver.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/clientserver.c b/clientserver.c
index eb644560..f55117ca 100644
--- a/clientserver.c
+++ b/clientserver.c
@@ -690,6 +690,10 @@ static int rsync_module(int f_in, int f_out, int i)
if (lp_timeout(i) && lp_timeout(i) > io_timeout)
set_io_timeout(lp_timeout(i));
+ /* If we have some incoming/outgoing chmod changes, append them to
+ * any user-specified changes (making our changes have priority).
+ * We also get a pointer to just our changes so that a receiver
+ * process can use them separately if --perms wasn't specified. */
if (am_sender)
p = lp_outgoing_chmod(i);
else