diff options
author | Mattias Andrée <maandree@operamail.com> | 2013-02-15 22:06:18 +0100 |
---|---|---|
committer | Mattias Andrée <maandree@operamail.com> | 2013-02-15 22:06:18 +0100 |
commit | 9aab167daacb33b63abaefc607f2adfc41ebbe2f (patch) | |
tree | 9f120a6567b6b660419a69c497788574a81da613 /c | |
parent | support 8th bit in c version (diff) | |
download | sha3sum-9aab167daacb33b63abaefc607f2adfc41ebbe2f.tar.gz sha3sum-9aab167daacb33b63abaefc607f2adfc41ebbe2f.tar.bz2 sha3sum-9aab167daacb33b63abaefc607f2adfc41ebbe2f.tar.xz |
m
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'c')
-rw-r--r-- | c/sha3sum.c | 2 |
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; } |