diff options
author | Hoa V. DINH <dinh.viet.hoa@gmail.com> | 2013-06-05 21:40:14 -0700 |
---|---|---|
committer | Hoa V. DINH <dinh.viet.hoa@gmail.com> | 2013-06-05 21:40:14 -0700 |
commit | 387900efaee7609642ad7a46883c7e64afa8a9d9 (patch) | |
tree | 1406a981da11fc64dacab5709c8ba3e1c22f7821 /src/core/imap | |
parent | 31c46283d8dd555d01cb66a705ba6ab5e6bda5d4 (diff) |
Fixed crash when using checkAccount on the same session twice. Fixed #75.
Diffstat (limited to 'src/core/imap')
-rw-r--r-- | src/core/imap/MCIMAPSession.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/imap/MCIMAPSession.h b/src/core/imap/MCIMAPSession.h index 9cf72843..a02f13f6 100644 --- a/src/core/imap/MCIMAPSession.h +++ b/src/core/imap/MCIMAPSession.h @@ -131,6 +131,7 @@ namespace mailcore { public: // private virtual void loginIfNeeded(ErrorCode * pError); + virtual void connectIfNeeded(ErrorCode * pError); private: String * mHostname; @@ -173,7 +174,6 @@ namespace mailcore { static void items_progress(size_t current, size_t maximum, void * context); void setup(); void unsetup(); - void connectIfNeeded(ErrorCode * pError); void selectIfNeeded(String * folder, ErrorCode * pError); char fetchDelimiterIfNeeded(char defaultDelimiter, ErrorCode * pError); IMAPSyncResult * fetchMessages(String * folder, IMAPMessagesRequestKind requestKind, bool fetchByUID, |