Commit 75426495 authored by Michal Malý's avatar Michal Malý Committed by Elvis Angelaccio

Do not treat ENOENT and ENOTDIR differently in stat()

Summary: Any error returned from browse_stat_path() should probably be signaled as error to KIO. Previous behavior only showed a warning and continued as if the operation completed fine if browse_stat_path() returned either ENOENT or ENOTDIR.

Reviewers: elvisangelaccio

Reviewed By: elvisangelaccio

Differential Revision:
parent d1224a63
......@@ -152,12 +152,6 @@ void SMBSlave::stat( const QUrl& kurl )
else if (ret == ENOENT || ret == ENOTDIR)
warning(i18n("File does not exist: %1", url.url()));
else if (ret != 0)
qCDebug(KIO_SMB) << "stat() error" << ret << url;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment