aboutsummaryrefslogtreecommitdiffstats
path: root/c
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2013-02-15 22:06:18 +0100
committerMattias Andrée <maandree@operamail.com>2013-02-15 22:06:18 +0100
commit9aab167daacb33b63abaefc607f2adfc41ebbe2f (patch)
tree9f120a6567b6b660419a69c497788574a81da613 /c
parentsupport 8th bit in c version (diff)
downloadsha3sum-9aab167daacb33b63abaefc607f2adfc41ebbe2f.tar.gz
sha3sum-9aab167daacb33b63abaefc607f2adfc41ebbe2f.tar.bz2
sha3sum-9aab167daacb33b63abaefc607f2adfc41ebbe2f.tar.xz
m
Signed-off-by: Mattias Andrée <maandree@operamail.com>
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;
}