src/worker.c: In function ‘worker_main’:
src/worker.c:355:57: error: call to ‘_curl_easy_getinfo_err_long’ declared with attribute warning: curl_easy_getinfo expects a pointer to long for this info [-Werror=attribute-warning]
355 | curl_easy_getinfo(eh, CURLINFO_RESPONSE_CODE, &http_status_code);
| ^
We should be using
long
instead ofint
: https://curl.se/libcurl/c/CURLINFO_RESPONSE_CODE.htmlError message when compiling: