aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorGravatar Hoa V. DINH <dinh.viet.hoa@gmail.com>2014-03-30 23:05:05 -0700
committerGravatar Hoa V. DINH <dinh.viet.hoa@gmail.com>2014-03-30 23:05:05 -0700
commit8484b43aa886df21623a6ce86012f8d2451ed412 (patch)
tree2645792b76bd47bb3442833d600dfa580a602f31 /src
parenta536d04f543ca0b8a2f3bc9ec28f3424b390355a (diff)
Fixed session reuse
Diffstat (limited to 'src')
-rwxr-xr-xsrc/async/imap/MCIMAPAsyncSession.cc2
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;
}
}