Wrap line - 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 ff3adddbd64ef8550fddd7d9c14f3e1c05e92ff1
DIR parent 656a07658e6e3f1d23926afc7fbecad27e82b012
HTML Author: sin <sin@2f30.org>
Date: Thu, 21 Feb 2019 21:09:10 +0000
Wrap line
Diffstat:
M chunker.c | 2 +-
M dedup.c | 3 ++-
2 files changed, 3 insertions(+), 2 deletions(-)
---
DIR 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)
DIR 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]);