Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: CURLINFO_RESPONSE_CODE datatype
We should be using `long` instead of `int`: https://curl.se/libcurl/c/CURLINFO_RESPONSE_CODE.html Error message when compiling: 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); | ^
- Loading branch information