diff options
-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 { |