Write out the inc_recurse flag into a protocol-30 batch file.
authorWayne Davison <wayned@samba.org>
Tue, 16 Oct 2007 04:08:21 +0000 (04:08 +0000)
committerWayne Davison <wayned@samba.org>
Tue, 16 Oct 2007 04:08:21 +0000 (04:08 +0000)
io.c

diff --git a/io.c b/io.c
index a19017a..3faf83d 100644 (file)
--- 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)