Simplify check - 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 f2671211f99e5dba4d6e3f26cace0984c4826557 DIR parent b39264fb67a7cada839dd0ad7af6fe6fc79e0fcb HTML Author: sin <sin@2f30.org> Date: Mon, 18 Feb 2019 08:33:04 +0000 Simplify check Diffstat: M dedup.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- DIR diff --git a/dedup.c b/dedup.c @@ -454,7 +454,7 @@ dedup(int fd, char *msg) /* Calculate hash and add this entry to the index */ SHA256_Final(ent->md, &ctx); - if (msg != NULL && msg[0] != '\0') { + if (msg != NULL) { size_t size; size = strlen(msg) + 1;