aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/imap/MCIMAPSession.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/imap/MCIMAPSession.cpp')
-rwxr-xr-xsrc/core/imap/MCIMAPSession.cpp2
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 {