-rw-r--r-- | noncore/net/mail/imapwrapper.cpp | 1 | ||||
-rw-r--r-- | noncore/net/mail/libmailwrapper/imapwrapper.cpp | 1 |
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; } |