tDefine BHDRSIZE in the same way as BDSIZE - dedup - deduplicating backup program
(HTM) git clone git://git.z3bra.org/dedup.git
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
(DIR) commit 9118f47ec13670c986b7cd59838c4fd8a8d7fc67
(DIR) parent e5a0b651bfa86129be13be7a3bf5fe65f0700338
(HTM) 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
t@@ -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, ...);