From e2aaa2cb402db09bf510bb877a4f3bfe941514e9 Mon Sep 17 00:00:00 2001 From: pancake Date: Tue, 22 Dec 2009 00:08:47 +0100 Subject: * Add C files of the gui, so it can be built without gtkamlc or valac * Fix build of gui.gtkaml (sync with last vala) * Update version number in gui about dialog * Some syntax cleanup and removed some unnecesary printf calls --- src/hash.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/hash.c') diff --git a/src/hash.c b/src/hash.c index 9809a75..db79a06 100644 --- a/src/hash.c +++ b/src/hash.c @@ -39,7 +39,8 @@ usho do_hash_file(const char *filename) return -1; } - do { ret = fread(&buf, 1, BSIZE, fd); + do { + ret = fread(&buf, 1, BSIZE, fd); if (ret == -1) return 0; hash ^= do_hash((usho *)&buf, ret); -- cgit v1.2.3