summaryrefslogtreecommitdiff
authoralwin <alwin>2003-12-13 12:49:27 (UTC)
committer alwin <alwin>2003-12-13 12:49:27 (UTC)
commit865b023c57f657c8eff26baa670fc76bbcd548e4 (patch) (side-by-side diff)
tree1d40c66d0b4e571277be77db1692791688569c9f
parentcb7b0d2e509d5fc1759fee7c8c855e259e44ed95 (diff)
downloadopie-865b023c57f657c8eff26baa670fc76bbcd548e4.zip
opie-865b023c57f657c8eff26baa670fc76bbcd548e4.tar.gz
opie-865b023c57f657c8eff26baa670fc76bbcd548e4.tar.bz2
try to solve the problems with slow imap-server
Diffstat (more/less context) (show whitespace changes)
-rw-r--r--noncore/net/mail/imapwrapper.cpp1
-rw-r--r--noncore/net/mail/libmailwrapper/imapwrapper.cpp1
2 files changed, 2 insertions, 0 deletions
diff --git a/noncore/net/mail/imapwrapper.cpp b/noncore/net/mail/imapwrapper.cpp
index 11bf3b8..48e476b 100644
--- a/noncore/net/mail/imapwrapper.cpp
+++ b/noncore/net/mail/imapwrapper.cpp
@@ -31,4 +31,5 @@ void IMAPwrapper::login()
/* TODO: setup a timer holding the line or if connection closed - delete the value */
if (m_imap) {
+ mailstream_flush(m_imap->imap_stream);
return;
}
diff --git a/noncore/net/mail/libmailwrapper/imapwrapper.cpp b/noncore/net/mail/libmailwrapper/imapwrapper.cpp
index 11bf3b8..48e476b 100644
--- a/noncore/net/mail/libmailwrapper/imapwrapper.cpp
+++ b/noncore/net/mail/libmailwrapper/imapwrapper.cpp
@@ -31,4 +31,5 @@ void IMAPwrapper::login()
/* TODO: setup a timer holding the line or if connection closed - delete the value */
if (m_imap) {
+ mailstream_flush(m_imap->imap_stream);
return;
}