Curl library expects C style strings for params

master
Pork Chop 2023-07-01 15:25:57 +10:00
parent 076ec3300b
commit 503baf7013
1 changed files with 1 additions and 1 deletions

View File

@ -527,7 +527,7 @@ HttpStatus HttpOpRequest::prepareRequest(HttpService * service)
check_curl_easy_setopt(mCurlHandle, CURLOPT_SEEKDATA, getHandle());
check_curl_easy_setopt(mCurlHandle, CURLOPT_COOKIEFILE, "");
check_curl_easy_setopt(mCurlHandle, CURLOPT_USERAGENT, APP_NAME); // <FS> Clownflare changes
check_curl_easy_setopt(mCurlHandle, CURLOPT_USERAGENT, APP_NAME.c_str()); // <FS> Clownflare changes
if (gpolicy.mSslCtxCallback)
{