diff options
author | Mattias Andrée <maandree@operamail.com> | 2013-02-08 06:31:13 +0100 |
---|---|---|
committer | Mattias Andrée <maandree@operamail.com> | 2013-02-08 06:31:13 +0100 |
commit | 7ad82d0366a352055316c0e2de22dc9abdd292a4 (patch) | |
tree | 5c5b967487e8d9a157b5c29feee898cf302472ff /c/sha3sum.c | |
parent | m (diff) | |
download | sha3sum-7ad82d0366a352055316c0e2de22dc9abdd292a4.tar.gz sha3sum-7ad82d0366a352055316c0e2de22dc9abdd292a4.tar.bz2 sha3sum-7ad82d0366a352055316c0e2de22dc9abdd292a4.tar.xz |
corrected
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'c/sha3sum.c')
-rw-r--r-- | c/sha3sum.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/c/sha3sum.c b/c/sha3sum.c index 993cf94..bc29a58 100644 --- a/c/sha3sum.c +++ b/c/sha3sum.c @@ -338,13 +338,13 @@ int main(int argc, char** argv) if (binary) { long j; + for (j = 0; j < bn; j++) + putchar(*(bs + j)); if (filename == null) { stdin = bs; bs = null; } - for (j = 0; j < bn; j++) - putchar(*(bs + j)); fflush(stdout); } else |