- Timestamp:
- 2010-10-02T06:56:33Z (14 years ago)
- Branches:
- master
- Children:
- 385fbc4, 8e9e2b7
- Parents:
- 62f53b50
- Location:
- protocols/msn
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
protocols/msn/soap.c
r62f53b50 r2af3e23 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]; 272 273 273 274 if( sd->redirect ) … … 281 282 soap_req->url = g_strdup( SOAP_PASSPORT_SSO_URL ); 282 283 284 strncpy( pass, ic->acc->pass, MAX_PASSPORT_PWLEN ); 283 285 soap_req->payload = g_markup_printf_escaped( SOAP_PASSPORT_SSO_PAYLOAD, 284 ic->acc->user, ic->acc->pass, md->pp_policy );286 ic->acc->user, pass, md->pp_policy ); 285 287 286 288 return MSN_SOAP_OK; -
protocols/msn/soap.h
r62f53b50 r2af3e23 63 63 #define SOAP_PASSPORT_SSO_URL "https://login.live.com/RST.srf" 64 64 #define SOAP_PASSPORT_SSO_URL_MSN "https://msnia.login.live.com/pp800/RST.srf" 65 #define MAX_PASSPORT_PWLEN 16 65 66 66 67 #define SOAP_PASSPORT_SSO_PAYLOAD \
Note: See TracChangeset
for help on using the changeset viewer.