Skip to content

Commit

Permalink
Merge branch 'develop' of https://github.com/etternagame/etterna into…
Browse files Browse the repository at this point in the history
… develop
  • Loading branch information
TheROPFather committed Jul 18, 2018
2 parents 2962754 + 08b65b3 commit 941d471
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/DownloadManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -515,7 +515,7 @@ void DownloadManager::UpdatePacks(float fDeltaSeconds)
while ((msg = curl_multi_info_read(mPackHandle, &msgs_left))) {
/* Find out which handle this message is about */
for (auto i = downloads.begin(); i != downloads.end(); i++) {
if (msg->easy_handle == i->second->handle) {
if (msg->easy_handle == i->second->handle && msg->msg == CURLMSG_DONE) {
finishedADownload = true;
i->second->p_RFWrapper.file.Flush();
if (i->second->p_RFWrapper.file.IsOpen())
Expand Down

0 comments on commit 941d471

Please sign in to comment.