* 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
This commit is contained in:
1 parent
4d7899fa40
commit
e2aaa2cb40
6 files changed
+945
-39
No files matched your search
+2
-1
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user