cosmetic changes

This commit is contained in:
Simon Morlat 2014-02-20 15:41:10 +01:00
parent 493a1fec08
commit 161540a1cf
3 changed files with 7 additions and 3 deletions

View file

@ -31,9 +31,11 @@ SalAddress * sal_address_new(const char *uri){
if (result) belle_sip_object_ref(result);
return (SalAddress *)result;
}
SalAddress * sal_address_clone(const SalAddress *addr){
return (SalAddress *) belle_sip_object_ref(belle_sip_object_clone(BELLE_SIP_OBJECT(addr)));
}
const char *sal_address_get_scheme(const SalAddress *addr){
belle_sip_header_address_t* header_addr = BELLE_SIP_HEADER_ADDRESS(addr);
belle_sip_uri_t* uri = belle_sip_header_address_get_uri(header_addr);

View file

@ -564,8 +564,10 @@ void sal_op_assign_recv_headers(SalOp *op, belle_sip_message_t *incoming){
}
const char *sal_op_get_remote_contact(const SalOp *op){
// remote contact is filled in process_response
// return sal_custom_header_find(op->base.recv_custom_headers,"Contact");
/*
* remote contact is filled in process_response
* return sal_custom_header_find(op->base.recv_custom_headers,"Contact");
*/
return op->base.remote_contact;
}

@ -1 +1 @@
Subproject commit 60a3af972a3e18b7616eaf6dd1f53acb2cb675a7
Subproject commit 77b6e16c9ef07fdbb741d220c89e749ff746d654