Define BHDRSIZE in the same way as BDSIZE - dedup - deduplicating backup program
HTML git clone git://bitreich.org/dedup/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/dedup/
DIR Log
DIR Files
DIR Refs
DIR Tags
DIR README
DIR LICENSE
---
DIR commit 9118f47ec13670c986b7cd59838c4fd8a8d7fc67
DIR parent e5a0b651bfa86129be13be7a3bf5fe65f0700338
HTML Author: sin <sin@2f30.org>
Date: Thu, 25 Apr 2019 14:24:31 +0100
Define BHDRSIZE in the same way as BDSIZE
Diffstat:
M bstorage.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
DIR 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, ...);