dedup

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

commit 9118f47ec13670c986b7cd59838c4fd8a8d7fc67
parent e5a0b651bfa86129be13be7a3bf5fe65f0700338
Author: sin <sin@2f30.org>
Date:   Thu, 25 Apr 2019 14:24:31 +0100

Define BHDRSIZE in the same way as BDSIZE

Diffstat:
Mbstorage.c | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/bstorage.c b/bstorage.c @@ -37,9 +37,9 @@ #define CALGOSHIFT 16 #define CALGOMASK 0x7 -#define BHDRSIZE 16 - #define BDTYPE 0x100 + +#define BHDRSIZE (8 + 8) #define BDSIZE (8 + 8 + 8 + (MDSIZE)) extern int pack(unsigned char *dst, char *fmt, ...);