summaryrefslogtreecommitdiff
path: root/protocols/MSN/src
diff options
context:
space:
mode:
authorTobias Weimer <wishmaster51@googlemail.com>2015-11-04 22:57:19 +0000
committerTobias Weimer <wishmaster51@googlemail.com>2015-11-04 22:57:19 +0000
commitf35cb3406507850b8bf7085deb9d1a417f850549 (patch)
tree0488fc81e4780398d1bb2818578cd4cff1d6bb7c /protocols/MSN/src
parent2c54d6e129aa0810010d1a2c004e63057b80fbf8 (diff)
MSN:
- minor cleanup git-svn-id: http://svn.miranda-ng.org/main/trunk@15687 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/MSN/src')
-rw-r--r--protocols/MSN/src/msn_auth.cpp16
1 files changed, 12 insertions, 4 deletions
diff --git a/protocols/MSN/src/msn_auth.cpp b/protocols/MSN/src/msn_auth.cpp
index e08b456ef9..df2c8a01d2 100644
--- a/protocols/MSN/src/msn_auth.cpp
+++ b/protocols/MSN/src/msn_auth.cpp
@@ -692,11 +692,15 @@ int CMsnProto::MSN_SkypeAuth(const char *pszNonce, char *pszUIC)
if (SkyLogin_CreateUICString(hLogin, pszNonce, pszUIC))
iRet = 1;
}
- else iRet = 0;
+ else
+ iRet = 0;
SkyLogin_Exit(hLogin);
}
- else iRet = -3;
+ else
+ iRet = 0;
}
+ else
+ iRet = -3;
FreeLibrary(hLibSkylogin);
}
return iRet;
@@ -748,9 +752,13 @@ int CMsnProto::LoginSkypeOAuth(const char *pRefreshToken)
if (pszPartner = SkyLogin_GetUser(hLogin))
setString("SkypePartner", pszPartner);
}
- } else iRet = 0;
+ }
+ else
+ iRet = 0;
SkyLogin_Exit(hLogin);
- } else iRet = -3;
+ }
+ else
+ iRet = -3;
FreeLibrary(hLibSkylogin);
}
return iRet;