mirror of
https://bitbucket.org/smil3y/kdelibs.git
synced 2025-02-23 10:22:48 +00:00
kioslave: const-ify variable in curl slave
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
parent
dcea148ad8
commit
7f0d7fa885
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||||
|
|
Loading…
Add table
Reference in a new issue