URI: 
       Use block descriptor type to select hash function in bscheck() - 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 8728669764d059ab08e07111ca630f7fa313e51d
   DIR parent bfeed4a4f620d817f12f6f3d11043c06f1c53b80
  HTML Author: sin <sin@2f30.org>
       Date:   Wed,  1 May 2019 14:03:02 +0100
       
       Use block descriptor type to select hash function in bscheck()
       
       Diffstat:
         M bstorage.c                          |       2 +-
       
       1 file changed, 1 insertion(+), 1 deletion(-)
       ---
   DIR diff --git a/bstorage.c b/bstorage.c
       @@ -642,7 +642,7 @@ bscheck(struct bctx *bctx, unsigned char *md)
                        return -1;
                }
        
       -        switch (sctx->type) {
       +        switch (bd->type) {
                case BD2BTYPE:
                        if (b2bhash(buf, bd->size, key.md) < 0) {
                                free(buf);