code: индивидуальный вариант

Этот коммит содержится в:
2024-05-20 01:16:14 +03:00
родитель 283c812736
Коммит 0f6b48aab3

Просмотреть файл

@@ -67,8 +67,8 @@ Input download(const string& address)
curl_easy_setopt(curl, CURLOPT_WRITEDATA, &buffer);
res = curl_easy_perform(curl);
if (!res){
double speed;
res1 = curl_easy_getinfo(curl, CURLINFO_SPEED_UPLOAD, &speed);
curl_off_t speed;
res1 = curl_easy_getinfo(curl, CURLINFO_SPEED_DOWNLOAD_T, &speed);
if(!res1){
cout << "Upload speed bytes/sec\n" << speed;
exit(1);