updating ac

This commit is contained in:
jakani24
2024-05-10 14:27:52 +02:00
parent 237d1821e1
commit d3f83426fa
41 changed files with 556 additions and 174 deletions

View File

@@ -44,6 +44,7 @@ int download_file_from_srv(const char* url, const char* outputFileName) {
return 7;
}
curl_easy_setopt(curl, CURLOPT_SSL_VERIFYPEER, 0L);
// Set the write callback function
curl_easy_setopt(curl, CURLOPT_WRITEFUNCTION, write_callback);
curl_easy_setopt(curl, CURLOPT_WRITEDATA, output_file);
@@ -59,4 +60,7 @@ int download_file_from_srv(const char* url, const char* outputFileName) {
return 0;
}
#endif