summaryrefslogtreecommitdiff
path: root/noncore/net/mailit/popclient.cpp
Side-by-side diff
Diffstat (limited to 'noncore/net/mailit/popclient.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/net/mailit/popclient.cpp14
1 files changed, 8 insertions, 6 deletions
diff --git a/noncore/net/mailit/popclient.cpp b/noncore/net/mailit/popclient.cpp
index 6105d09..fedc4e2 100644
--- a/noncore/net/mailit/popclient.cpp
+++ b/noncore/net/mailit/popclient.cpp
@@ -31,2 +31,3 @@ PopClient::PopClient()
{
+
socket = new QSocket(this, "popClient");
@@ -119,2 +120,3 @@ void PopClient::incomingData()
// return;
+
@@ -153,3 +155,3 @@ void PopClient::incomingData()
- break;
+ break;
}
@@ -158,3 +160,4 @@ void PopClient::incomingData()
*stream << "PASS " << popPassword << "\r\n";
- status = Stat;
+ status = Stat;
+
break;
@@ -165,3 +168,3 @@ void PopClient::incomingData()
*stream << "STAT" << "\r\n";
- status = Mcnt;
+ status = Mcnt;
} else errorHandling(ErrLoginFailed);
@@ -181,4 +184,4 @@ void PopClient::incomingData()
//messages deleted from server, reload all
- if (newMessages < lastSync)
- lastSync = 0;
+ if (newMessages < lastSync)
+ lastSync = 0;
messageCount = 1;
@@ -275,3 +278,2 @@ void PopClient::incomingData()
} else { //message reach entire size
-
if ( (selected)||(mailSize <= headerLimit)) //mail size limit is not used if late download is active