mirror of
git://git.gnupg.org/gnupg.git
synced 2024-12-22 10:19:57 +01:00
g10: Fix error detection.
* g10/tofu.c: first_seen == 0 is not an error. -- Signed-off-by: Neal H. Walfield <neal@g10code.com> Fixes-commit: 0f1f02ac Regression-due-to: 45bb9a2a
This commit is contained in:
parent
e4d5e3cb0d
commit
5b48960a8a
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user