tFix stats - 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 e0161df4361701471430efb134e1f37906bd6226
 (DIR) parent 83352fb988f55b3ea3fea53b984b8233f817d08e
 (HTM) Author: sin <sin@2f30.org>
       Date:   Mon, 18 Feb 2019 13:22:07 +0000
       
       Fix stats
       
       Diffstat:
         M dedup.c                             |       3 +--
       
       1 file changed, 1 insertion(+), 2 deletions(-)
       ---
 (DIR) diff --git a/dedup.c b/dedup.c
       t@@ -427,8 +427,6 @@ dedup(int fd, char *msg)
                                blksize = chunk_blk(inp, n);
                                csize = comp(inp, outp, blksize, comp_size(BLKSIZE));
        
       -                        enthdr.st.actual_bytes += csize;
       -
                                memcpy(bdescr.md, md, sizeof(bdescr));
                                bdescr.offset = enthdr.store_size;
                                bdescr.size = csize;
       t@@ -454,6 +452,7 @@ dedup(int fd, char *msg)
                                        cent->bdescr = bdescr;
                                        add_cent(cent);
        
       +                                enthdr.st.actual_bytes += bdescr.size;
                                        enthdr.st.cache_misses++;
                                } else {
                                        ent->bdescr[ent->nblks++] = bdescr;