- Timestamp:
- 2011-12-19T18:09:11Z (13 years ago)
- Branches:
- master
- Children:
- 41658da
- Parents:
- a72dc2b
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
protocols/msn/soap.c
ra72dc2b r9f958f7 60 60 struct im_connection *ic; 61 61 int ttl; 62 char *error; 62 63 63 64 char *url, *action, *payload; … … 158 159 } 159 160 161 if( http_req->status_code != 200 ) 162 soap_req->error = g_strdup( http_req->status_string ); 163 160 164 st = soap_req->handle_response( soap_req ); 161 165 … … 164 168 g_free( soap_req->action ); 165 169 g_free( soap_req->payload ); 166 soap_req->url = soap_req->action = soap_req->payload = NULL; 170 g_free( soap_req->error ); 171 soap_req->url = soap_req->action = soap_req->payload = soap_req->error = NULL; 167 172 168 173 if( st == MSN_SOAP_RETRY && --soap_req->ttl ) … … 253 258 g_free( soap_req->action ); 254 259 g_free( soap_req->payload ); 260 g_free( soap_req->error ); 255 261 g_free( soap_req ); 256 262 } … … 410 416 if( sd->secret == NULL ) 411 417 { 412 msn_auth_got_passport_token( ic, NULL, sd->error );418 msn_auth_got_passport_token( ic, NULL, sd->error ? sd->error : soap_req->error ); 413 419 return MSN_SOAP_OK; 414 420 }
Note: See TracChangeset
for help on using the changeset viewer.