mirror of
https://github.com/BeamMP/BeamMP-Launcher.git
synced 2026-10-22 08:17:43 +00:00
Http patch
This commit is contained in:
1 parent
32a3e9f875
commit
2da0538987
2 files changed
+2
-2
No files matched your search
@@ -64,7 +64,6 @@ int Download(const std::string& URL,const std::string& Path,bool close){
|
||||
CURL *curl;
|
||||
CURLcode res;
|
||||
struct File file = {Path.c_str(),nullptr};
|
||||
//curl_global_init(CURL_GLOBAL_DEFAULT);
|
||||
curl = curl_easy_init();
|
||||
if(curl){
|
||||
curl_easy_setopt(curl, CURLOPT_URL,URL.c_str());
|
||||
|
||||
Reference in new issue
Block a user