summaryrefslogtreecommitdiffstats
path: root/src/hash.c
diff options
context:
space:
mode:
authorpancake <none@none>2009-12-22 00:08:47 +0100
committerpancake <none@none>2009-12-22 00:08:47 +0100
commite2aaa2cb402db09bf510bb877a4f3bfe941514e9 (patch)
tree25ef992d5a49a977e587cd6e11e18a1be7b7e599 /src/hash.c
parent4d7899fa4034393ce835f749c3ab64e83d12b590 (diff)
download0xFFFF-e2aaa2cb402db09bf510bb877a4f3bfe941514e9.tar.bz2
* 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
Diffstat (limited to 'src/hash.c')
-rw-r--r--src/hash.c3
1 files changed, 2 insertions, 1 deletions
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);