From 1998ef6cc7f321dfdf189021d7aa2557411cc5d8 Mon Sep 17 00:00:00 2001 From: "berkeviktor@aol.com" Date: Wed, 20 Oct 2010 23:29:44 +0200 Subject: even more formatting --- plugins/checksum/checksum.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'plugins') diff --git a/plugins/checksum/checksum.c b/plugins/checksum/checksum.c index b48d7d34..14e6ea24 100644 --- a/plugins/checksum/checksum.c +++ b/plugins/checksum/checksum.c @@ -92,14 +92,14 @@ sha256_file (char *path, char outputBuffer[65]) while ((bytesRead = fread (buffer, 1, BUFSIZE, file))) { SHA256_Update (&sha256, buffer, bytesRead); - } + } - SHA256_Final (hash, &sha256); - sha256_hash_string (hash, outputBuffer); + SHA256_Final (hash, &sha256); + sha256_hash_string (hash, outputBuffer); fclose (file); - free (buffer); - return 0; + free (buffer); + return 0; } int -- cgit 1.4.1