diff options
-rw-r--r-- | protocols/MSN/src/msn_auth.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/protocols/MSN/src/msn_auth.cpp b/protocols/MSN/src/msn_auth.cpp index a805672f17..37d6208a8d 100644 --- a/protocols/MSN/src/msn_auth.cpp +++ b/protocols/MSN/src/msn_auth.cpp @@ -803,6 +803,8 @@ bool CMsnProto::RefreshOAuth(const char *pszRefreshToken, const char *pszService *ptExpires = (*root)["expires_in"].as_int();
if (*ptExpires == 0)
bRet = false;
+ else
+ *ptExpires += time(0);
}
}
}
|