kioslave: const-ify variable in curl slave

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
Ivailo Monev 2024-06-01 04:42:36 +03:00
parent dcea148ad8
commit 7f0d7fa885

View file

@ -1087,7 +1087,7 @@ CURLcode CurlProtocol::performCurl(const KUrl &url, KUrl *redirecturl)
} }
if (curlresult != CURLE_OK) { if (curlresult != CURLE_OK) {
KIO::Error kioerror = curlToKIOError(curlresult, m_curl); const KIO::Error kioerror = curlToKIOError(curlresult, m_curl);
if (kioerror == KIO::ERR_COULD_NOT_LOGIN) { if (kioerror == KIO::ERR_COULD_NOT_LOGIN) {
kDebug(7103) << "Authorizing" << url.prettyUrl(); kDebug(7103) << "Authorizing" << url.prettyUrl();
kioauthinfo.keepPassword = true; kioauthinfo.keepPassword = true;