summaryrefslogtreecommitdiff
Side-by-side diff
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;
}