summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'kde-apps/kdepimlibs/files/kdepimlibs-4.14.10_p20160611-revert-544410c90.patch')
-rw-r--r--kde-apps/kdepimlibs/files/kdepimlibs-4.14.10_p20160611-revert-544410c90.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/kde-apps/kdepimlibs/files/kdepimlibs-4.14.10_p20160611-revert-544410c90.patch b/kde-apps/kdepimlibs/files/kdepimlibs-4.14.10_p20160611-revert-544410c90.patch
new file mode 100644
index 000000000000..94f1494a3ddd
--- /dev/null
+++ b/kde-apps/kdepimlibs/files/kdepimlibs-4.14.10_p20160611-revert-544410c90.patch
@@ -0,0 +1,25 @@
+diff --git a/kioslave/pop3/pop3.cpp b/kioslave/pop3/pop3.cpp
+index 8238a5fca..20730950d 100644
+--- a/kioslave/pop3/pop3.cpp
++++ b/kioslave/pop3/pop3.cpp
+@@ -812,7 +812,6 @@ void POP3Protocol::get(const KUrl & url)
+ .
+ */
+ if (result) {
+- mimeType("text/plain");
+ while (true /* !AtEOF() */ ) {
+ memset(buf, 0, sizeof(buf));
+ myReadLine(buf, sizeof(buf) - 1);
+@@ -849,12 +848,6 @@ void POP3Protocol::get(const KUrl & url)
+ m_cmd = CMD_NONE;
+ } else if (cmd == "download" || cmd == "headers") {
+ const QStringList waitingCommands = path.split(',', QString::SkipEmptyParts);
+- if ( waitingCommands.isEmpty() ) {
+- kDebug(7105) << "tried to request" << cmd << "for" << path << "with no specific item to get";
+- closeConnection();
+- error(ERR_INTERNAL, m_sServer);
+- return;
+- }
+ bool noProgress = (metaData("progress") == "off"
+ || waitingCommands.count() > 1);
+ int p_size = 0;