aboutsummaryrefslogtreecommitdiff
path: root/static
diff options
context:
space:
mode:
authorRunxi Yu <me@runxiyu.org>2025-03-25 10:40:22 +0800
committerRunxi Yu <me@runxiyu.org>2025-03-25 10:40:22 +0800
commit77456c33a7ee34876f6c860d2888a1442362dcea (patch)
treee53efe3e330312335eeb11be1123c623d3db652a /static
parentMerge branch 'master' into irclog (diff)
parentMore C style changes (diff)
downloadpowxy-77456c33a7ee34876f6c860d2888a1442362dcea.tar.gz
powxy-77456c33a7ee34876f6c860d2888a1442362dcea.tar.zst
powxy-77456c33a7ee34876f6c860d2888a1442362dcea.zip
Merge branch 'master' into irclogirclog-v0.1.80
Diffstat (limited to '')
-rw-r--r--static/solver.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/static/solver.c b/static/solver.c
index a06140e..73fb98f 100644
--- a/static/solver.c
+++ b/static/solver.c
@@ -106,7 +106,7 @@ int main(int argc, char **argv)
unsigned char digest[len];
size_t next = 0;
- while (1) {
+ for (;;) {
if (EVP_DigestInit_ex(mdctx, EVP_sha256(), NULL) != 1) {
fprintf(stderr, "EVP_DigestInit_ex\n");
EVP_MD_CTX_free(mdctx);