Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Unmaintained
KDE Libraries
Commits
d055452f
Commit
d055452f
authored
Nov 13, 2012
by
Dawit Alemayehu
Browse files
Prevent a Q_ASSERT crash when invoking ftpCreateUDSEntry.
BUG: 310039 FIXED-IN: 4.9.4
parent
37258607
Changes
1
Hide whitespace changes
Inline
Side-by-side
kioslave/ftp/ftp.cpp
View file @
d055452f
...
...
@@ -1579,6 +1579,7 @@ void Ftp::listDir( const KUrl &url )
// kDebug(7102) << "is a link to " << ftpEnt.link;
ftpCreateUDSEntry
(
ftpEnt
.
name
,
ftpEnt
,
entry
,
false
);
listEntry
(
entry
,
false
);
entry
.
clear
();
}
}
...
...
@@ -1587,6 +1588,7 @@ void Ftp::listDir( const KUrl &url )
fixupEntryName
(
&
ftpEnt
);
ftpCreateUDSEntry
(
ftpEnt
.
name
,
ftpEnt
,
entry
,
false
);
listEntry
(
entry
,
false
);
entry
.
clear
();
}
listEntry
(
entry
,
true
);
// ready
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment