Fix unused parameter

Should be used as the write function pointer, this was overseen in commit '31d92b43'.
This commit is contained in:
Kawe Mazidjatari 2023-07-26 20:28:55 +02:00
parent 31d92b439f
commit ac0fdf2953

View File

@ -42,7 +42,7 @@ CURL* CURLInitRequest(const char* remote, const char* request, string& outRespon
curl_easy_setopt(curl, CURLOPT_TIMEOUT, timeOut);
curl_easy_setopt(curl, CURLOPT_USE_SSL, CURLUSESSL_ALL);
curl_easy_setopt(curl, CURLOPT_WRITEFUNCTION, CURLWriteStringCallback);
curl_easy_setopt(curl, CURLOPT_WRITEFUNCTION, writeFunction);
curl_easy_setopt(curl, CURLOPT_WRITEDATA, &outResponse);
curl_easy_setopt(curl, CURLOPT_VERBOSE, debug);