Fixes dup check for zero size.

This commit is contained in:
Andrea Mazzoleni 2013-06-05 19:17:31 +02:00
parent 813c105da9
commit 618ef76525

2
dup.c
View file

@ -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);