summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2013-07-05 11:55:28 +0200
committerGravatar Christian Hesse <mail@eworm.de>2013-07-05 11:55:28 +0200
commite6803897fe91861f8247a33bddc1d598eed062ad (patch)
tree8263fb3d40947c62c1ba960438ce1036ddc05f9d
parent976c811dcbdfb4dda52551300a233bfdbc6b8ba3 (diff)
downloadnthash-e6803897fe91861f8247a33bddc1d598eed062ad.tar.gz
nthash-e6803897fe91861f8247a33bddc1d598eed062ad.tar.zst
do not print whitespace at end of line
-rw-r--r--nthash.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/nthash.c b/nthash.c
index ee9a043..5e90c5d 100644
--- a/nthash.c
+++ b/nthash.c
@@ -44,8 +44,9 @@ int main(int argc, char **argv) {
md4_digest(&ctx, MD4_DIGEST_SIZE, digest);
- for (i = 0; i < MD4_DIGEST_SIZE; i++)
+ for (i = 0; i < MD4_DIGEST_SIZE -1; i++)
printf("%02x ", digest[i]);
+ printf("%02x", digest[i]);
putchar('\n');
return EXIT_SUCCESS;