diff options
author | graham.gower <graham.gower@e8e0d7a0-c8d9-11dd-a880-a1081c7ac358> | 2010-08-17 23:39:02 (EDT) |
---|---|---|
committer | graham.gower <graham.gower@e8e0d7a0-c8d9-11dd-a880-a1081c7ac358> | 2010-08-17 23:39:02 (EDT) |
commit | 0a4946b3e913a2affe5fd342aa88e2533d06356e (patch) | |
tree | a53f2e977e6d39ac8356a9664fa46bec26c31c85 /libopkg/file_util.c | |
parent | 0eb2cb22be9a69e9562fea935617864cc0e5f217 (diff) |
Remove trailing whitespace. Sorry if this breaks your patches.
git-svn-id: http://opkg.googlecode.com/svn/trunk@552 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
Diffstat (limited to 'libopkg/file_util.c')
-rw-r--r-- | libopkg/file_util.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libopkg/file_util.c b/libopkg/file_util.c index 0a443ea..cf5f774 100644 --- a/libopkg/file_util.c +++ b/libopkg/file_util.c @@ -175,9 +175,9 @@ char *file_md5sum_alloc(const char *file_name) md5sum_hex[i*2] = bin2hex[md5sum_bin[i] >> 4]; md5sum_hex[i*2+1] = bin2hex[md5sum_bin[i] & 0xf]; } - + md5sum_hex[md5sum_hex_len] = '\0'; - + return md5sum_hex; } @@ -222,9 +222,9 @@ char *file_sha256sum_alloc(const char *file_name) sha256sum_hex[i*2] = bin2hex[sha256sum_bin[i] >> 4]; sha256sum_hex[i*2+1] = bin2hex[sha256sum_bin[i] & 0xf]; } - + sha256sum_hex[sha256sum_hex_len] = '\0'; - + return sha256sum_hex; } |