Commit b4053f82 authored by Ghislain MARY's avatar Ghislain MARY

Copy parameters when cloning an address header.

parent 2c9ea856
......@@ -207,6 +207,7 @@ static void _belle_sip_header_address_clone(belle_sip_header_address_t *addr, co
if (belle_sip_header_address_get_absolute_uri(orig)) {
belle_sip_header_address_set_absolute_uri(addr,BELLE_GENERIC_URI(belle_sip_object_clone(BELLE_SIP_OBJECT(belle_sip_header_address_get_absolute_uri(orig)))));
}
belle_sip_parameters_copy_parameters_from(&addr->base, &orig->base);
}
belle_sip_header_address_t* belle_sip_header_address_clone(const belle_sip_header_address_t* orig) {
belle_sip_header_address_t* new_address = belle_sip_header_address_new();
......
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