diff options
author | pancake <none@none> | 2009-12-22 00:08:47 +0100 |
---|---|---|
committer | pancake <none@none> | 2009-12-22 00:08:47 +0100 |
commit | e2aaa2cb402db09bf510bb877a4f3bfe941514e9 (patch) | |
tree | 25ef992d5a49a977e587cd6e11e18a1be7b7e599 /src/hash.c | |
parent | 4d7899fa4034393ce835f749c3ab64e83d12b590 (diff) | |
download | 0xFFFF-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.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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); |