diff options
author | Hoa V. DINH <dinh.viet.hoa@gmail.com> | 2016-05-16 23:58:34 -0700 |
---|---|---|
committer | Hoa V. DINH <dinh.viet.hoa@gmail.com> | 2016-05-16 23:58:34 -0700 |
commit | f70043b6cc278f67b08fac6f243b936ba8cc8639 (patch) | |
tree | 6ae44c4e67eee9141727fb9662619f58ab125f6b | |
parent | 30f5297f7315bd572e12a7bdf417471e1be14b30 (diff) |
Fixed error handling
-rwxr-xr-x | src/core/imap/MCIMAPSession.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/imap/MCIMAPSession.cpp b/src/core/imap/MCIMAPSession.cpp index b48979bc..5cee16b1 100755 --- a/src/core/imap/MCIMAPSession.cpp +++ b/src/core/imap/MCIMAPSession.cpp @@ -866,7 +866,7 @@ void IMAPSession::login(ErrorCode * pError) else if (response->locationOfString(MCSTR("OCF12")) != -1) { * pError = ErrorYahooUnavailable; } - else if (response->locationOfString(MCSTR("Login to your account via a web browser")) != 1) { + else if (response->locationOfString(MCSTR("Login to your account via a web browser")) != -1) { * pError = ErrorOutlookLoginViaWebBrowser; } else { |