diff options
author | J.W. Schultz <jw@samba.org> | 2003-04-10 02:04:58 +0000 |
---|---|---|
committer | J.W. Schultz <jw@samba.org> | 2003-04-10 02:04:58 +0000 |
commit | 195bd906a2bacbce7455405180bfecf60819a60d (patch) | |
tree | 00d21ec018b3cb8b933ee2361bcf6f119bb2eefa /options.c | |
parent | fc1ae6582fa5e199cc9c50dc2297297c1893955c (diff) | |
download | rsync-195bd906a2bacbce7455405180bfecf60819a60d.tar.gz |
- Per-file dynamic block size is now sqrt(file length).
- The per-file checksum size is determined according
to an algorythm provided by Donovan Baarda which
reduces the probability of rsync algorithm
corrupting data and falling back using the whole md4
checksums.
Diffstat (limited to 'options.c')
-rw-r--r-- | options.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -77,7 +77,7 @@ int do_progress=0; int keep_partial=0; int safe_symlinks=0; int copy_unsafe_links=0; -int block_size=BLOCK_SIZE; +int block_size=0; int size_only=0; int bwlimit=0; int delete_after=0; @@ -775,7 +775,7 @@ void server_options(char **args,int *argc) if (x != 1) args[ac++] = argstr; - if (block_size != BLOCK_SIZE) { + if (block_size) { snprintf(bsize,sizeof(bsize),"-B%d",block_size); args[ac++] = bsize; } |