Changeset cdd1ded
- Timestamp:
- 2015-12-30T05:04:40Z (9 years ago)
- Branches:
- master
- Children:
- c0db0d3
- Parents:
- ba7618d
- Location:
- protocols/msn
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
protocols/msn/soap.c
rba7618d rcdd1ded 270 270 struct im_connection *ic = soap_req->ic; 271 271 struct msn_data *md = ic->proto_data; 272 char pass[MAX_PASSPORT_PWLEN + 1];273 272 274 273 if (sd->redirect) { … … 286 285 } 287 286 288 strncpy(pass, ic->acc->pass, MAX_PASSPORT_PWLEN);289 pass[MAX_PASSPORT_PWLEN] = '\0';290 287 soap_req->payload = g_markup_printf_escaped(SOAP_PASSPORT_SSO_PAYLOAD, 291 ic->acc->user, pass, md->pp_policy);288 ic->acc->user, ic->acc->pass, md->pp_policy); 292 289 293 290 return MSN_SOAP_OK; -
protocols/msn/soap.h
rba7618d rcdd1ded 61 61 #define SOAP_PASSPORT_SSO_URL "https://login.live.com/RST.srf" 62 62 #define SOAP_PASSPORT_SSO_URL_MSN "https://msnia.login.live.com/pp900/RST.srf" 63 #define MAX_PASSPORT_PWLEN 1664 63 65 64 #define SOAP_PASSPORT_SSO_PAYLOAD \
Note: See TracChangeset
for help on using the changeset viewer.