Hihoffff 1 неделю назад
Родитель 6ebc5ea258
Сommit b2ec2b1bd9

@ -40,6 +40,7 @@ download(const string& address) {
if(curl) {
CURLcode res;
curl_easy_setopt(curl, CURLOPT_URL, address);
curl_easy_setopt(curl, CURLOPT_WRITEFUNCTION, input_data);
curl_easy_setopt(curl, CURLOPT_WRITEDATA, &buffer);
res = curl_easy_perform(curl);
if(res!=0){

Загрузка…
Отмена
Сохранить