aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--c/sha3sum.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/c/sha3sum.c b/c/sha3sum.c
index bc29a58..b5d0c6a 100644
--- a/c/sha3sum.c
+++ b/c/sha3sum.c
@@ -41,7 +41,7 @@ long eq(char* a, char* b)
while (*a)
if (*a++ != *b++)
return false;
- return true;
+ return !*b;
}