From d591f08acdc4b871a2b40bd197bd04174739e339 Mon Sep 17 00:00:00 2001 From: Sude Date: Sun, 20 Apr 2014 21:35:05 +0300 Subject: [PATCH] Fix using local xml for hashes in Downloader::downloadFile --- src/downloader.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/downloader.cpp b/src/downloader.cpp index ceb810b..9d01824 100644 --- a/src/downloader.cpp +++ b/src/downloader.cpp @@ -878,7 +878,7 @@ CURLcode Downloader::downloadFile(const std::string& url, const std::string& fil bool bSameVersion = true; // assume same version bool bLocalXMLExists = boost::filesystem::exists(local_xml_file); // This is additional check to see if remote xml should be saved to speed up future version checks - std::string localHash = this->getLocalFileHash(filepath); + std::string localHash = this->getLocalFileHash(filepath, gamename); if (!xml_data.empty()) {