mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-03 22:56:33 +02: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
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
write_stats_status (outfp, 0, TOFU_POLICY_NONE, 0, 0);
|
||||||
if (!outfp)
|
if (!outfp)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue