dedup

deduplicating backup program
git clone git://git.2f30.org/dedup
Log | Files | Refs | README | LICENSE

commit ff3adddbd64ef8550fddd7d9c14f3e1c05e92ff1
parent 656a07658e6e3f1d23926afc7fbecad27e82b012
Author: sin <sin@2f30.org>
Date:   Thu, 21 Feb 2019 21:09:10 +0000

Wrap line

Diffstat:
Mchunker.c | 2+-
Mdedup.c | 3++-
2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/chunker.c b/chunker.c @@ -19,8 +19,8 @@ static size_t get_chunk_size(struct chunker *chunker) { uint8_t *bp; - size_t i; uint32_t fp; + size_t i; /* buzhash should be at least WINSIZE */ if (chunker->wpos - chunker->rpos < WINSIZE) diff --git a/dedup.c b/dedup.c @@ -423,7 +423,8 @@ extract(struct snapshot *snap, void *arg) size_t blksize; read_blk(buf[1], &snap->blk_desc[i]); - blksize = decomp(buf[1], buf[0], snap->blk_desc[i].size, BLKSIZE); + blksize = decomp(buf[1], buf[0], snap->blk_desc[i].size, + BLKSIZE); xwrite(args->fd, buf[0], blksize); } free_buf(buf[1]);