Add some comments to bcompress - dedup - deduplicating backup program (HTM) git clone git://bitreich.org/dedup/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/dedup/ (DIR) Log (DIR) Files (DIR) Refs (DIR) Tags (DIR) README (DIR) LICENSE --- (DIR) commit 51368350b7b7c7a23fdc51cc86906c81572f9179 (DIR) parent f3cfc694a10d1cd07ad4ddc04806e3819adfa510 (HTM) Author: sin <sin@2f30.org> Date: Tue, 21 May 2019 14:32:59 +0300 Add some comments to bcompress Diffstat: M bcompress.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) --- (DIR) diff --git a/bcompress.c b/bcompress.c @@ -56,9 +56,9 @@ struct cctx { /* Compression descriptor */ struct cd { - uint16_t type; /* compression algorithm type */ - unsigned char reserved[6]; - uint64_t size; + uint16_t type; /* compression algorithm type */ + unsigned char reserved[6]; /* should be set to 0 when writing */ + uint64_t size; /* size of compressed block */ }; /* Unpack compression descriptor */