2
0
mirror of https://github.com/Sude-/lgogdownloader.git synced 2025-03-09 04:45:12 +01:00

Fix issue caused by 730c1ffe5875d2d7c6d31320f79b0f5be0e85890

Util::getFileHash was called instead of Util::getLocalFileHash
This caused librhash error for files that didn't exist
This commit is contained in:
Sude 2016-05-20 10:13:20 +03:00
parent 730c1ffe58
commit 06fd4d496c

@ -2559,7 +2559,7 @@ std::string Downloader::getLocalFileHash(const std::string& filepath, const std:
Util::createXML(filepath, config.iChunkSize, xml_directory);
}
localHash = Util::getFileHash(path.string(), RHASH_MD5);
localHash = Util::getLocalFileHash(config.sXMLDirectory, filepath, gamename);
return localHash;
}