Changeset 801b90b


Ignore:
Timestamp:
2010-08-20T19:30:12Z (14 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
a366cca
Parents:
f2520b5
Message:

Check if a connection is down before handling its SOAP responses.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • protocols/msn/soap.c

    rf2520b5 r801b90b  
    123123        struct msn_soap_req_data *soap_req = http_req->data;
    124124        int st;
     125       
     126        if( g_slist_find( msn_connections, soap_req->ic ) == NULL )
     127        {
     128                soap_req->free_data( soap_req );
     129                g_free( soap_req->url );
     130                g_free( soap_req->action );
     131                g_free( soap_req->payload );
     132                g_free( soap_req );
     133                return;
     134        }
    125135       
    126136        if( http_req->body_size > 0 )
Note: See TracChangeset for help on using the changeset viewer.