mirror of
https://bitbucket.org/smil3y/kdelibs.git
synced 2025-02-23 10:22:48 +00:00
kioslave: adjust to Katie changes
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
parent
f1521944ed
commit
e879c440fb
1 changed files with 1 additions and 1 deletions
|
@ -882,7 +882,7 @@ bool CurlProtocol::setupCurl(const KUrl &url, const bool ftp)
|
|||
|
||||
// curl cannot verify certs if the host is address, CURLOPT_USE_SSL set to CURLUSESSL_TRY
|
||||
// does not bypass such cases so resolving it manually
|
||||
const QHostAddress urladdress(url.host());
|
||||
const QHostAddress urladdress(url.host().toLatin1());
|
||||
if (!urladdress.isNull()) {
|
||||
const QHostInfo urlinfo = QHostInfo::fromName(url.host());
|
||||
if (urlinfo.error() == QHostInfo::NoError) {
|
||||
|
|
Loading…
Add table
Reference in a new issue