summaryrefslogtreecommitdiff
path: root/src/md5sum.c
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2002-01-26 22:04:00 +0000
committerJim Meyering <jim@meyering.net>2002-01-26 22:04:00 +0000
commit2852c1c0a1d75a4715255afde44ffbedeb63a39b (patch)
tree02a0179ecb0604cb15ce7b8aa0eb9f0c30acd43b /src/md5sum.c
parentbae9a65da4c4a9a8eff59af184401d9bf4a9552c (diff)
downloadcoreutils-2852c1c0a1d75a4715255afde44ffbedeb63a39b.tar.xz
split a long line
Diffstat (limited to 'src/md5sum.c')
-rw-r--r--src/md5sum.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/md5sum.c b/src/md5sum.c
index 33eb38531..a5a31d09f 100644
--- a/src/md5sum.c
+++ b/src/md5sum.c
@@ -1,5 +1,5 @@
/* Compute MD5 or SHA1 checksum of files or strings
- Copyright (C) 1995-2001 Free Software Foundation, Inc.
+ Copyright (C) 1995-2002 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -410,7 +410,8 @@ digest_check (const char *checkfile_name, int (*digest_stream)(FILE *, void *))
in check file. Ignore case of hex digits. */
for (cnt = 0; cnt < digest_bin_bytes; ++cnt)
{
- if (TOLOWER (hex_digest[2 * cnt]) != bin2hex[bin_buffer[cnt] >> 4]
+ if (TOLOWER (hex_digest[2 * cnt])
+ != bin2hex[bin_buffer[cnt] >> 4]
|| (TOLOWER (hex_digest[2 * cnt + 1])
!= (bin2hex[bin_buffer[cnt] & 0xf])))
break;