mirror of
https://bitbucket.org/smil3y/kdelibs.git
synced 2025-02-23 10:22:48 +00:00
kioslave: de-duplicate code
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
parent
3c1f8483d9
commit
05e783c361
1 changed files with 1 additions and 2 deletions
|
@ -1080,12 +1080,11 @@ CURLcode CurlProtocol::performCurl(const KUrl &url, KUrl *redirecturl)
|
|||
if (curlresult != CURLE_OK) {
|
||||
return curlresult;
|
||||
}
|
||||
curlresult = curl_easy_perform(m_curl);
|
||||
} else {
|
||||
kDebug(7103) << "No cached authorization" << url.prettyUrl();
|
||||
curlresult = curl_easy_perform(m_curl);
|
||||
}
|
||||
|
||||
curlresult = curl_easy_perform(m_curl);
|
||||
if (curlresult != CURLE_OK) {
|
||||
const KIO::Error kioerror = curlToKIOError(curlresult, m_curl);
|
||||
if (kioerror == KIO::ERR_COULD_NOT_LOGIN) {
|
||||
|
|
Loading…
Add table
Reference in a new issue