blob: 94f1494a3ddd120c5c5ad14efbe29c56d4723226 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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;
|