Fix typo - 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 a6f3624b616e46d60875a82ddc5cd5ce6f62dfbd DIR parent eb053ea02848331d866e5fd13be344b5029eb9d3 HTML 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 @@ -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;