Changeset 52f5e90
- Timestamp:
- 2010-10-02T04:21:50Z (14 years ago)
- Branches:
- master
- Children:
- ed86165
- Parents:
- 2c6b0f4
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
protocols/msn/soap.c
r2c6b0f4 r52f5e90 970 970 { 971 971 struct msn_data *md = soap_req->ic->proto_data; 972 bee_user_t *bu = soap_req->data; 973 struct msn_buddy_data *bd = bu->data; 972 const char *cid = soap_req->data; 974 973 975 974 soap_req->url = g_strdup( SOAP_ADDRESSBOOK_URL ); 976 975 soap_req->action = g_strdup( SOAP_AB_CONTACT_DEL_ACTION ); 977 976 soap_req->payload = msn_soap_abservice_build( SOAP_AB_CONTACT_DEL_PAYLOAD, 978 "Timer", md->tokens[1], bd->cid );977 "Timer", md->tokens[1], cid ); 979 978 980 979 return 1; … … 989 988 static int msn_soap_ab_contact_del_free_data( struct msn_soap_req_data *soap_req ) 990 989 { 990 g_free( soap_req->data ); 991 991 return 0; 992 992 } … … 994 994 int msn_soap_ab_contact_del( struct im_connection *ic, bee_user_t *bu ) 995 995 { 996 return msn_soap_start( ic, bu, 996 struct msn_buddy_data *bd = bu->data; 997 998 return msn_soap_start( ic, g_strdup( bd->cid ), 997 999 msn_soap_ab_contact_del_build_request, 998 1000 NULL,
Note: See TracChangeset
for help on using the changeset viewer.