tFix typo - 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 a6f3624b616e46d60875a82ddc5cd5ce6f62dfbd
(DIR) parent eb053ea02848331d866e5fd13be344b5029eb9d3
(HTM) Author: sin <sin@2f30.org>
Date: Thu, 25 Apr 2019 13:56:54 +0100
Fix typo
Diffstat:
M bstorage.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
(DIR) diff --git a/bstorage.c b/bstorage.c
t@@ -398,7 +398,7 @@ bsopen(struct bctx *bctx, char *path, int flags, int mode, struct bparam *bpar)
calgo = (bhdr->flags >> CALGOSHIFT) & CALGOMASK;
bpar->calgo = ctbl[calgo];
halgo = (bhdr->flags >> CALGOSHIFT) & CALGOMASK;
- bpar->halgo = ctbl[halgo];
+ bpar->halgo = htbl[halgo];
sctx->fd = fd;
sctx->rdonly = flags == O_RDONLY;