mirror of
https://bitbucket.org/smil3y/kdelibs.git
synced 2025-02-24 02:42:48 +00:00
kutils: correct archive_read_extract2() failure error reporting
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
parent
b317eeb690
commit
578396197e
1 changed files with 1 additions and 1 deletions
|
@ -864,7 +864,7 @@ bool KArchive::extract(const QStringList &paths, const QString &destination, boo
|
|||
}
|
||||
|
||||
if (archive_read_extract2(readarchive, entry, writearchive) != ARCHIVE_OK) {
|
||||
d->m_error = i18n("archive_read_extract2: %1", archive_error_string(writearchive));
|
||||
d->m_error = i18n("archive_read_extract2: %1", archive_error_string(readarchive));
|
||||
kDebug() << d->m_error;
|
||||
result = false;
|
||||
break;
|
||||
|
|
Loading…
Add table
Reference in a new issue