- Increased the SUBPROTOCOL_VERSION to 4 due to the new dir-ndx logic.
authorWayne Davison <wayned@samba.org>
Sun, 8 Jul 2007 06:25:36 +0000 (06:25 +0000)
committerWayne Davison <wayned@samba.org>
Sun, 8 Jul 2007 06:25:36 +0000 (06:25 +0000)
- Added ndx_end value to struct file_list.

rsync.h

diff --git a/rsync.h b/rsync.h
index 17afb69..1232359 100644 (file)
--- a/rsync.h
+++ b/rsync.h
@@ -87,7 +87,7 @@
 /* This is used when working on a new protocol version in CVS, and should
  * be a new non-zero value for each CVS change that affects the protocol.
  * It must ALWAYS be 0 when the protocol goes final! */
-#define SUBPROTOCOL_VERSION 3
+#define SUBPROTOCOL_VERSION 4
 
 /* We refuse to interoperate with versions that are not in this range.
  * Note that we assume we'll work with later versions: the onus is on
@@ -677,6 +677,7 @@ struct file_list {
        int used, malloced;
        int low, high;  /* 0-relative index values excluding empties */
        int ndx_start;  /* the start offset for inc_recurse mode */
+       int ndx_end;    /* the end offset for inc_recurse mode */
        int parent_ndx; /* dir_flist index of parent directory */
        int in_progress, to_redo;
 };