dedup

deduplicating backup program
git clone git://git.2f30.org/dedup
Log | Files | Refs | README | LICENSE

commit 17e33eb2f548925c5a1fead6c2bfe65f6f16cade
parent 08600b08eec99d0c6fce2749ade192cadd4a0ba5
Author: sin <sin@2f30.org>
Date:   Thu, 16 May 2019 14:48:14 +0100

Define BSIZEAVG in the same way as it is done for MIN/MAX

Diffstat:
Mconfig.h | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/config.h b/config.h @@ -2,8 +2,8 @@ #define STORAGEPATH "storage" #define MDSIZE 32 #define KEYSIZE 32 /* should match crypto_aead_xchacha20poly1305_ietf_KEYBYTES */ -#define BSIZEAVG ((size_t)(1ul << 21)) #define BSIZEMIN ((size_t)524288) +#define BSIZEAVG ((size_t)2097152) #define BSIZEMAX ((size_t)8388608) #define HMASKBITS (BSIZEAVG - 1) #define WINSIZE ((size_t)4095)