mirror of
https://bitbucket.org/smil3y/kdelibs.git
synced 2025-02-23 10:22:48 +00:00
kioslave: fix file slave runtime warning
prior to cf6ac06d91
the slave was simply
exiting but that is no longer the case
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
parent
bc8e0c451e
commit
7139774873
1 changed files with 4 additions and 1 deletions
|
@ -507,7 +507,10 @@ void FileProtocol::put(const KUrl &url, int _mode, KIO::JobFlags _flags)
|
|||
}
|
||||
}
|
||||
|
||||
return;
|
||||
if (fd != -1) {
|
||||
return;
|
||||
}
|
||||
// falltrough when nothing was opened
|
||||
}
|
||||
|
||||
if (fd == -1) {
|
||||
|
|
Loading…
Add table
Reference in a new issue