- Timestamp:
- 2010-08-14T23:23:23Z (14 years ago)
- Branches:
- master
- Children:
- ff27648
- Parents:
- d912fe4
- Location:
- protocols/msn
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
protocols/msn/msn_util.c
rd912fe4 rd97f51b 65 65 strcpy( handle, handle_ ); 66 66 if( ( domain = strchr( handle, '@' ) ) ) 67 *(domain 68 ++) = '\0'; 67 *(domain++) = '\0'; 69 68 else 70 69 return NULL; -
protocols/msn/ns.c
rd912fe4 rd97f51b 705 705 706 706 { 707 char buf[1 024];707 char buf[1536]; 708 708 709 709 g_snprintf( buf, sizeof( buf ), "USR %d SSO S %s %s\r\n", ++md->trId, md->tokens[0], token ); -
protocols/msn/soap.c
rd912fe4 rd97f51b 203 203 id += strlen( id ) - 1; 204 204 if( *id == '1' && 205 ( p = node->parent ) && ( p = p->parent ) && 206 ( p = xt_find_node( p->children, "wst:RequestedProofToken" ) ) && 207 ( p = xt_find_node( p->children, "wst:BinarySecret" ) ) && 205 ( p = xt_find_path( node, "../../wst:RequestedProofToken/wst:BinarySecret" ) ) && 208 206 p->text ) 209 207 sd->secret = g_strdup( p->text ); … … 477 475 struct im_connection *ic = soap_req->ic; 478 476 479 if( ( p = node->parent ) && ( p = p->parent ) && 480 ( p = xt_find_node( p->children, "MemberRole" ) ) ) 477 if( ( p = xt_find_path( node, "../../MemberRole" ) ) ) 481 478 role = p->text; 482 479 … … 636 633 struct msn_soap_req_data *soap_req = data; 637 634 638 if( ( p = node->parent ) && 639 ( p = xt_find_node( p->children, "groupId" ) ) ) 635 if( ( p = xt_find_path( node, "../groupId" ) ) ) 640 636 id = p->text; 641 637 … … 657 653 struct im_connection *ic = soap_req->ic; 658 654 659 if( ( p = node->parent ) && 660 ( p = xt_find_node( p->children, "contactId" ) ) ) 655 if( ( p = xt_find_path( node, "../contactId" ) ) ) 661 656 id = p->text; 662 657 if( ( p = xt_find_node( node->children, "contactType" ) ) ) … … 676 671 } 677 672 673 if( handle == NULL ) 674 return XT_HANDLED; 675 678 676 if( !( bu = bee_user_by_handle( ic->bee, ic, handle ) ) && 679 677 !( bu = bee_user_new( ic->bee, ic, handle, 0 ) ) )
Note: See TracChangeset
for help on using the changeset viewer.