From 5b48960a8a2555db7bf992261de9e922838c9913 Mon Sep 17 00:00:00 2001 From: "Neal H. Walfield" Date: Wed, 31 Aug 2016 12:11:58 +0200 Subject: [PATCH] g10: Fix error detection. * g10/tofu.c: first_seen == 0 is not an error. -- Signed-off-by: Neal H. Walfield Fixes-commit: 0f1f02ac Regression-due-to: 45bb9a2a --- g10/tofu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/g10/tofu.c b/g10/tofu.c index 4285e960c..968b89a90 100644 --- a/g10/tofu.c +++ b/g10/tofu.c @@ -2023,7 +2023,7 @@ show_statistics (tofu_dbs_t dbs, const char *fingerprint, } - if (messages == -1 || !first_seen) + if (messages == -1 || first_seen == -1) { write_stats_status (outfp, 0, TOFU_POLICY_NONE, 0, 0); if (!outfp)