Commit 27def09c authored by Simon Morlat's avatar Simon Morlat

add log

parent c84b3cdd
......@@ -20,12 +20,16 @@
void belle_sip_listening_point_init(belle_sip_listening_point_t *lp, belle_sip_stack_t *s, const char *address, int port){
char *tmp;
belle_sip_init_sockets();
lp->stack=s;
lp->listening_uri=belle_sip_uri_create(NULL,address);
belle_sip_object_ref(lp->listening_uri);
belle_sip_uri_set_port(lp->listening_uri,port);
belle_sip_uri_set_transport_param(lp->listening_uri,BELLE_SIP_OBJECT_VPTR(lp,belle_sip_listening_point_t)->transport);
tmp=belle_sip_object_to_string((belle_sip_object_t*)BELLE_SIP_LISTENING_POINT(lp)->listening_uri);
belle_sip_message("Creating listening point [%p] on [%s]",lp, tmp);
belle_sip_free(tmp);
}
static void belle_sip_listening_point_uninit(belle_sip_listening_point_t *lp){
......
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