Commit a95e8f62 authored by Simon Morlat's avatar Simon Morlat
Browse files

fix bad log

parent b3e7eda8
......@@ -1335,6 +1335,10 @@ int belle_sip_channel_queue_message(belle_sip_channel_t *obj, belle_sip_message_
}
void belle_sip_channel_force_close(belle_sip_channel_t *obj){
if (obj->resolver_ctx){
belle_sip_resolver_context_cancel(obj->resolver_ctx);
obj->resolver_ctx = NULL;
}
obj->force_close=1;
channel_set_state(obj,BELLE_SIP_CHANNEL_DISCONNECTED);
}
......
......@@ -383,7 +383,7 @@ belle_sip_list_t **belle_http_provider_get_channels(belle_http_provider_t *obj,
static void provider_remove_channel(belle_http_provider_t *obj, belle_sip_channel_t *chan){
belle_sip_list_t **channels=belle_http_provider_get_channels(obj,belle_sip_channel_get_transport_name(chan));
*channels=belle_sip_list_remove(*channels,chan);
belle_sip_message("channel [%p] removed from http provider.",obj);
belle_sip_message("channel [%p] removed from http provider.", chan);
belle_sip_object_unref(chan);
}
......
......@@ -307,7 +307,7 @@ static int tls_process_http_connect(belle_sip_tls_channel_t *obj) {
#ifdef HAVE_POLARSSL
char* request;
belle_sip_channel_t *channel = (belle_sip_channel_t *)obj;
belle_sip_tls_listening_point_t* lp = (belle_sip_tls_listening_point_t*)(channel->lp);
belle_sip_tls_listening_point_t* lp = (belle_sip_tls_listening_point_t*)channel->lp;
int err;
char ip[64];
int port;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment