summaryrefslogtreecommitdiff
path: root/protocols/MSN/src
diff options
context:
space:
mode:
authorPiotr Piastucki <leech.miranda@gmail.com>2015-07-03 07:35:09 +0000
committerPiotr Piastucki <leech.miranda@gmail.com>2015-07-03 07:35:09 +0000
commit6d5281958b491155f0c79881ac7ddbdcd137bf20 (patch)
tree247ac54fdeae6426a44b8665026df1500882927d /protocols/MSN/src
parent643d8dde868bee26748d36ad8533a52b7d7b9b06 (diff)
Open Browser Window with auth in every case when there is HTTP 200.
git-svn-id: http://svn.miranda-ng.org/main/trunk@14481 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/MSN/src')
-rw-r--r--protocols/MSN/src/msn_auth.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/MSN/src/msn_auth.cpp b/protocols/MSN/src/msn_auth.cpp
index 417acf320f..17b18abb11 100644
--- a/protocols/MSN/src/msn_auth.cpp
+++ b/protocols/MSN/src/msn_auth.cpp
@@ -901,7 +901,7 @@ int CMsnProto::MSN_AuthOAuth(void)
else {
/* There may be a problem with login, i.e. M$ security measures. Open up browser
* window with same URL in order to let user correct this */
- if (nlhrReply->resultCode == 200 && nlhrReply->pData && strstr(nlhrReply->pData, "ar/cancel")) {
+ if (nlhrReply->resultCode == 200 && nlhrReply->pData) {
url.Format("https://login.live.com/oauth20_authorize.srf?%s", pszPostParams);
Utils_OpenUrl(url);
}