summary refs log tree commit diff stats
path: root/plugins/checksum
diff options
context:
space:
mode:
authorberkeviktor@aol.com <berkeviktor@aol.com>2010-10-20 23:29:44 +0200
committerberkeviktor@aol.com <berkeviktor@aol.com>2010-10-20 23:29:44 +0200
commit1998ef6cc7f321dfdf189021d7aa2557411cc5d8 (patch)
tree71a6d8e42f61038359da8b0dd587c1b11fc4c6fc /plugins/checksum
parenta4c0e7f3fed1eadcbe0efa3393a91cc4293cf549 (diff)
even more formatting
Diffstat (limited to 'plugins/checksum')
-rw-r--r--plugins/checksum/checksum.c10
1 files changed, 5 insertions, 5 deletions
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