Add comment - 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 82da8a285b4eed7436c31a2806d565c24e41d9e9 DIR parent bdea4855d307234f96b86bf1d53515faa3ca7248 HTML Author: sin <sin@2f30.org> Date: Wed, 21 Mar 2018 16:17:33 +0000 Add comment Diffstat: M dedup.c | 1 + 1 file changed, 1 insertion(+), 0 deletions(-) --- DIR diff --git a/dedup.c b/dedup.c @@ -298,6 +298,7 @@ extract(char *id, int fd) if (xread(ifd, ent, sizeof(*ent)) == 0) errx(1, "unexpected EOF"); + /* Check if we've located the right file */ if (memcmp(ent->md, md, sizeof(ent->md)) != 0) { free(ent); /* Skip over index entry block table */