Этот коммит содержится в:
2025-05-25 23:41:32 +03:00
родитель b9691ebbe6
Коммит cdbd646a8a

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

@@ -50,6 +50,11 @@ int main(int argc, char* argv[])
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);
curl_easy_cleanup(curl); curl_easy_cleanup(curl);
if(res != 0)
{
cerr << curl_easy_strerror(res);
exit(1);
}
} }
} }
bool prompt = true; bool prompt = true;