Этот коммит содержится в:
2025-06-04 13:58:56 +03:00
родитель beeb53983e
Коммит 23703c408c

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

@@ -22,6 +22,10 @@ int main(int argc, char* argv[])
CURLcode res; CURLcode res;
curl_easy_setopt(curl, CURLOPT_URL, argv[1]); curl_easy_setopt(curl, CURLOPT_URL, argv[1]);
res = curl_easy_perform(curl); res = curl_easy_perform(curl);
if(res!=0){
cout << curl_easy_strerror(res) << endl;
exit(1);
}
curl_easy_cleanup(curl); curl_easy_cleanup(curl);
} }