fix: curl parameter type correction
All checks were successful
CI / Check coding style (pull_request) Successful in 34s
CI / Check spelling (pull_request) Successful in 24s
CI / Linux (ubuntu) (pull_request) Successful in 10m8s
CI / Linux (debian) (pull_request) Successful in 12m7s
CI / Linux (fedora) (pull_request) Successful in 13m44s
CI / Linux (arch) (pull_request) Successful in 16m39s
All checks were successful
CI / Check coding style (pull_request) Successful in 34s
CI / Check spelling (pull_request) Successful in 24s
CI / Linux (ubuntu) (pull_request) Successful in 10m8s
CI / Linux (debian) (pull_request) Successful in 12m7s
CI / Linux (fedora) (pull_request) Successful in 13m44s
CI / Linux (arch) (pull_request) Successful in 16m39s
This commit is contained in:
@@ -387,7 +387,7 @@ release_get_latest(void)
|
||||
|
||||
curl_easy_setopt(handle, CURLOPT_URL, url);
|
||||
curl_easy_setopt(handle, CURLOPT_WRITEFUNCTION, _data_callback);
|
||||
curl_easy_setopt(handle, CURLOPT_TIMEOUT, 2);
|
||||
curl_easy_setopt(handle, CURLOPT_TIMEOUT, 2L);
|
||||
curl_easy_setopt(handle, CURLOPT_WRITEDATA, (void*)&output);
|
||||
|
||||
curl_easy_perform(handle);
|
||||
|
||||
Reference in New Issue
Block a user