Skip to content

Commit

Permalink
Fix bad function callf
Browse files Browse the repository at this point in the history
  • Loading branch information
nico-abram committed Nov 29, 2018
1 parent 08fb18d commit 478c9cc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/DownloadManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1128,7 +1128,8 @@ DownloadManager::UploadScoreWithReplayDataFromDisk(string sk,
}
} catch (exception e) {
}
callback();
if (callback)
callback();
};
HTTPRequest* req = new HTTPRequest(curlHandle, done);
SetCURLResultsString(curlHandle, &(req->result));
Expand Down

0 comments on commit 478c9cc

Please sign in to comment.