diff options
author | 2014-03-30 23:05:05 -0700 | |
---|---|---|
committer | 2014-03-30 23:05:05 -0700 | |
commit | 8484b43aa886df21623a6ce86012f8d2451ed412 (patch) | |
tree | 2645792b76bd47bb3442833d600dfa580a602f31 /src | |
parent | a536d04f543ca0b8a2f3bc9ec28f3424b390355a (diff) |
Fixed session reuse
Diffstat (limited to 'src')
-rwxr-xr-x | src/async/imap/MCIMAPAsyncSession.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/async/imap/MCIMAPAsyncSession.cc b/src/async/imap/MCIMAPAsyncSession.cc index e94b62fe..122df2cc 100755 --- a/src/async/imap/MCIMAPAsyncSession.cc +++ b/src/async/imap/MCIMAPAsyncSession.cc @@ -306,7 +306,7 @@ IMAPAsyncConnection * IMAPAsyncSession::matchingSessionForFolder(String * folder for(unsigned int i = 0 ; i < mSessions->count() ; i ++) { IMAPAsyncConnection * currentSession = (IMAPAsyncConnection *) mSessions->objectAtIndex(i); if (currentSession->lastFolder() != NULL) { - if (currentSession->lastFolder()->compare(folder)) { + if (currentSession->lastFolder()->isEqual(folder)) { return currentSession; } } |