(svn r23886) -Codechange: Allow limiting the MD5 file hash to the first x bytes of the file.

This commit is contained in:
michi_cc
2012-02-04 13:29:00 +00:00
parent 59d0702a6a
commit 3c23f1f776
3 changed files with 22 additions and 5 deletions

View File

@@ -131,7 +131,7 @@ bool BaseSet<T, Tnum_files, Tsearch_in_tars>::FillSetDetails(IniFile *ini, const
file->missing_warning = strdup(item->value);
}
switch (file->CheckMD5(BASESET_DIR)) {
switch (T::CheckMD5(file, BASESET_DIR)) {
case MD5File::CR_MATCH:
this->valid_files++;
/* FALL THROUGH */