Fix allocation size - 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 696c1e07ef2ef69da9050c37c346f6ec62fbeeb8
 (DIR) parent 2bd17f0fc119a96101741081d04a0d236bc96861
 (HTM) Author: sin <sin@2f30.org>
       Date:   Fri, 26 Apr 2019 16:02:15 +0100
       
       Fix allocation size
       
       Diffstat:
         M snap.c                              |       2 +-
       
       1 file changed, 1 insertion(+), 1 deletion(-)
       ---
 (DIR) diff --git a/snap.c b/snap.c
       @@ -148,7 +148,7 @@ sopen(char *path, int flags, int mode, struct sctx **sctx)
                if (fd < 0)
                        return -1;
        
       -        *sctx = calloc(1, sizeof(*sctx));
       +        *sctx = calloc(1, sizeof(**sctx));
                if (*sctx == NULL) {
                        close(fd);
                        return -1;