diff options
author | Martin Pool <mbp@samba.org> | 2001-08-14 02:04:47 +0000 |
---|---|---|
committer | Martin Pool <mbp@samba.org> | 2001-08-14 02:04:47 +0000 |
commit | 6902ed178ba54c8e1c410519f7ee576ddb42554c (patch) | |
tree | f96da1be2d5c9d866c8a4962d879a534676caf3a /compat.c | |
parent | fab9a9c54729984199d20b637ea8cc163c73d2e2 (diff) | |
download | rsync-6902ed178ba54c8e1c410519f7ee576ddb42554c.tar.gz |
Merge across rsync+ patch; add a little documentation to the manpage. More documentation would be better.
Diffstat (limited to 'compat.c')
-rw-r--r-- | compat.c | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -36,6 +36,9 @@ extern int checksum_seed; extern int remote_version; extern int verbose; +extern int read_batch; /* dw */ +extern int write_batch; /* dw */ + void setup_protocol(int f_out,int f_in) { if (remote_version == 0) { @@ -57,6 +60,9 @@ void setup_protocol(int f_out,int f_in) if (remote_version >= 12) { if (am_server) { + if (read_batch || write_batch) /* dw */ + checksum_seed = 32761; + else checksum_seed = time(NULL); write_int(f_out,checksum_seed); } else { |