aboutsummaryrefslogtreecommitdiffstats
path: root/io.c
diff options
context:
space:
mode:
authorWayne Davison <wayned@samba.org>2007-10-16 04:08:21 +0000
committerWayne Davison <wayned@samba.org>2007-10-16 04:08:21 +0000
commit71456d301f8b28bab6fd29106ea4bb15c945a7d7 (patch)
tree8636ec71ff2e85f5dab7ad250f54ac3b0a305584 /io.c
parentdbd697b5780f8ec2f5e8615799ed0be921694f32 (diff)
downloadandroid_external_rsync-71456d301f8b28bab6fd29106ea4bb15c945a7d7.tar.gz
android_external_rsync-71456d301f8b28bab6fd29106ea4bb15c945a7d7.tar.bz2
android_external_rsync-71456d301f8b28bab6fd29106ea4bb15c945a7d7.zip
Write out the inc_recurse flag into a protocol-30 batch file.
Diffstat (limited to 'io.c')
-rw-r--r--io.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/io.c b/io.c
index a19017a6..3faf83d0 100644
--- a/io.c
+++ b/io.c
@@ -1861,6 +1861,8 @@ void start_write_batch(int fd)
* actual communication so far depends on whether a daemon
* is involved. */
write_int(batch_fd, protocol_version);
+ if (protocol_version >= 30)
+ write_byte(batch_fd, inc_recurse);
write_int(batch_fd, checksum_seed);
if (am_sender)