Changeset 12442ed for protocols/msn
- Timestamp:
- 2015-10-14T16:28:52Z (9 years ago)
- Branches:
- master
- Children:
- 532efdf
- Parents:
- 0b1ae59
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
protocols/msn/soap.c
r0b1ae59 r12442ed 327 327 struct xt_node *code = xt_find_node(node->children, "faultcode"); 328 328 struct xt_node *string = xt_find_node(node->children, "faultstring"); 329 struct xt_node *reqstatus = xt_find_path(node, "psf:pp/psf:reqstatus"); 329 330 struct xt_node *url; 330 331 … … 335 336 url->text_len > 0) { 336 337 sd->redirect = g_strdup(url->text); 338 } else if (reqstatus && strcmp(reqstatus->text, "0x800488fe") == 0) { 339 char *msg = "Location blocked. Log in to live.com, go to recent activity and click 'this was me'"; 340 sd->error = g_strdup_printf("%s (%s)", code->text, msg); 337 341 } else { 338 342 sd->error = g_strdup_printf("%s (%s)", code->text, string && string->text_len ? … … 346 350 { "wsse:BinarySecurityToken", "wst:RequestedSecurityToken", msn_soap_passport_sso_token }, 347 351 { "S:Fault", "S:Envelope", msn_soap_passport_failure }, 352 { "S:Fault", "wst:RequestSecurityTokenResponse", msn_soap_passport_failure }, 348 353 { NULL, NULL, NULL } 349 354 };
Note: See TracChangeset
for help on using the changeset viewer.