commit 4ff76106cb1e2c6f99dfd163744224fc57d5fa65 parent 07c41115923df14d48ec16279ed14dcb0df598e1 Author: sin <sin@2f30.org> Date: Sun, 17 Feb 2019 18:38:04 +0000 Fix null terminator check Diffstat:
M | dedup.c | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dedup.c b/dedup.c @@ -511,7 +511,7 @@ int list(struct ent *ent, void *arg) { print_md(ent->md, sizeof(ent->md)); - if (ent->msg) + if (ent->msg[0] != '\0') printf("\t%s\n", ent->msg); else putchar('\n');