Make argument of CURLWrapper::set_cafile() const.

This commit is contained in:
tastytea 2020-01-12 17:27:40 +01:00
parent 975fe57677
commit 04526f37cc
Signed by: tastytea
GPG Key ID: CFC39497F1B26E07
1 changed files with 1 additions and 1 deletions

View File

@ -243,7 +243,7 @@ void CURLWrapper::set_access_token(const string_view access_token)
debuglog << "Set authorization token.\n";
}
void CURLWrapper::set_cainfo(string_view path)
void CURLWrapper::set_cainfo(const string_view path)
{
CURLcode code{curl_easy_setopt(_connection, CURLOPT_CAINFO, path.data())};
if (code != CURLE_OK)