commit | 503f68dbc437df20a45aab440e6fad92062af229 | [log] [tgz] |
---|---|---|
author | Simon Kelley <simon@thekelleys.org.uk> | Fri Jan 15 21:53:29 2021 +0000 |
committer | Simon Kelley <simon@thekelleys.org.uk> | Fri Jan 15 21:53:29 2021 +0000 |
tree | c474fe5265b75d2d2724ba3e5567063e37de6c7e | |
parent | e01e09c7125b40646aff4a582672e711a18a69a4 [diff] |
Fix warning message logic.
diff --git a/src/hash_questions.c b/src/hash_questions.c index 917c18e..51d88c2 100644 --- a/src/hash_questions.c +++ b/src/hash_questions.c
@@ -43,7 +43,7 @@ static unsigned char dummy[HASH_SIZE]; static int warned = 0; - if (warned) + if (!warned) my_syslog(LOG_ERR, _("Failed to create SHA-256 hash object")); warned = 1;