From 195bd906a2bacbce7455405180bfecf60819a60d Mon Sep 17 00:00:00 2001 From: "J.W. Schultz" Date: Thu, 10 Apr 2003 02:04:58 +0000 Subject: - 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. --- options.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'options.c') diff --git a/options.c b/options.c index 772a87fa..14019a23 100644 --- a/options.c +++ b/options.c @@ -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; } -- cgit v1.2.1