From 618ef76525848248161e86b5b93706f9c19fccc9 Mon Sep 17 00:00:00 2001 From: Andrea Mazzoleni Date: Wed, 5 Jun 2013 19:17:31 +0200 Subject: [PATCH] Fixes dup check for zero size. --- dup.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dup.c b/dup.c index e574993e..141ca747 100644 --- a/dup.c +++ b/dup.c @@ -112,7 +112,7 @@ void state_dup(struct snapraid_state* state) continue; /* if empty, skip it */ - if (!file->size == 0) + if (file->size == 0) continue; hash32 = hash_hash(hash);