mirror of
https://github.com/Sude-/lgogdownloader.git
synced 2025-03-09 12:55:58 +01:00
Fix wrong condition in f671834
This commit is contained in:
parent
c70a6c3775
commit
8115e591ca
@ -790,7 +790,7 @@ CURLcode Downloader::downloadFile(const std::string& url, const std::string& fil
|
|||||||
fclose(outfile);
|
fclose(outfile);
|
||||||
|
|
||||||
// Download failed and was not a resume attempt so delete the file
|
// Download failed and was not a resume attempt so delete the file
|
||||||
if ( (res != CURLE_OK || res != CURLE_PARTIAL_FILE) && !bResume )
|
if (res != CURLE_OK && res != CURLE_PARTIAL_FILE && !bResume)
|
||||||
{
|
{
|
||||||
boost::filesystem::path path = filepath;
|
boost::filesystem::path path = filepath;
|
||||||
if (boost::filesystem::exists(path))
|
if (boost::filesystem::exists(path))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user